|
@@ 906-908 (lines=3) @@
|
| 903 |
|
if ( $this->smart ) { |
| 904 |
|
$share_url = $this->get_share_url( $post->ID ); |
| 905 |
|
$display .= sprintf( '<div class="linkedin_button"><script type="in/share" data-url="%s" data-counter="right"></script></div>', esc_url( $share_url ) ); |
| 906 |
|
} else { |
| 907 |
|
$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 ); |
| 908 |
|
} |
| 909 |
|
|
| 910 |
|
/** This filter is already documented in modules/sharedaddy/sharing-sources.php */ |
| 911 |
|
if ( apply_filters( 'jetpack_register_post_for_share_counts', true, $post->ID, 'linkedin' ) ) { |
|
@@ 1520-1522 (lines=3) @@
|
| 1517 |
|
esc_url( $this->get_external_url( $post ) ), |
| 1518 |
|
esc_attr( $this->get_widget_type() ) |
| 1519 |
|
); |
| 1520 |
|
} else { |
| 1521 |
|
$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 ); |
| 1522 |
|
} |
| 1523 |
|
|
| 1524 |
|
/** This filter is already documented in modules/sharedaddy/sharing-sources.php */ |
| 1525 |
|
if ( apply_filters( 'jetpack_register_post_for_share_counts', true, $post->ID, 'linkedin' ) ) { |