@@ 902-904 (lines=3) @@ | ||
899 | if ( $this->smart ) { |
|
900 | $share_url = $this->get_share_url( $post->ID ); |
|
901 | $display .= sprintf( '<div class="linkedin_button"><script type="in/share" data-url="%s" data-counter="right"></script></div>', esc_url( $share_url ) ); |
|
902 | } else { |
|
903 | $display = $this->get_link( $this->get_process_request_url( $post->ID ), _x( 'LinkedIn', 'share to', 'jetpack' ), __( 'Click to share on LinkedIn', 'jetpack' ), 'share=linkedin', 'sharing-linkedin-' . $post->ID ); |
|
904 | } |
|
905 | ||
906 | /** This filter is already documented in modules/sharedaddy/sharing-sources.php */ |
|
907 | if ( apply_filters( 'jetpack_register_post_for_share_counts', true, $post->ID, 'linkedin' ) ) { |
|
@@ 1530-1532 (lines=3) @@ | ||
1527 | esc_url( $this->get_external_url( $post ) ), |
|
1528 | esc_attr( $this->get_widget_type() ) |
|
1529 | ); |
|
1530 | } else { |
|
1531 | $display = $this->get_link( $this->get_process_request_url( $post->ID ), _x( 'Pinterest', 'share to', 'jetpack' ), __( 'Click to share on Pinterest', 'jetpack' ), 'share=pinterest', 'sharing-pinterest-' . $post->ID ); |
|
1532 | } |
|
1533 | ||
1534 | /** This filter is already documented in modules/sharedaddy/sharing-sources.php */ |
|
1535 | if ( apply_filters( 'jetpack_register_post_for_share_counts', true, $post->ID, 'linkedin' ) ) { |