|
@@ 993-995 (lines=3) @@
|
| 990 |
|
if ( $this->smart ) { |
| 991 |
|
$share_url = $this->get_share_url( $post->ID ); |
| 992 |
|
$display .= sprintf( '<div class="linkedin_button"><script type="in/share" data-url="%s" data-counter="right"></script></div>', esc_url( $share_url ) ); |
| 993 |
|
} else { |
| 994 |
|
$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 ); |
| 995 |
|
} |
| 996 |
|
|
| 997 |
|
/** This filter is already documented in modules/sharedaddy/sharing-sources.php */ |
| 998 |
|
if ( apply_filters( 'jetpack_register_post_for_share_counts', true, $post->ID, 'linkedin' ) ) { |
|
@@ 1678-1680 (lines=3) @@
|
| 1675 |
|
esc_url( $this->get_external_url( $post ) ), |
| 1676 |
|
esc_attr( $this->get_widget_type() ) |
| 1677 |
|
); |
| 1678 |
|
} else { |
| 1679 |
|
$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 ); |
| 1680 |
|
} |
| 1681 |
|
|
| 1682 |
|
/** This filter is already documented in modules/sharedaddy/sharing-sources.php */ |
| 1683 |
|
if ( apply_filters( 'jetpack_register_post_for_share_counts', true, $post->ID, 'linkedin' ) ) { |