|
@@ 1012-1014 (lines=3) @@
|
| 1009 |
|
if ( $this->smart ) { |
| 1010 |
|
$share_url = $this->get_share_url( $post->ID ); |
| 1011 |
|
$display .= sprintf( '<div class="linkedin_button"><script type="in/share" data-url="%s" data-counter="right"></script></div>', esc_url( $share_url ) ); |
| 1012 |
|
} else { |
| 1013 |
|
$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 ); |
| 1014 |
|
} |
| 1015 |
|
|
| 1016 |
|
/** This filter is already documented in modules/sharedaddy/sharing-sources.php */ |
| 1017 |
|
if ( apply_filters( 'jetpack_register_post_for_share_counts', true, $post->ID, 'linkedin' ) ) { |
|
@@ 1697-1699 (lines=3) @@
|
| 1694 |
|
esc_url( $this->get_external_url( $post ) ), |
| 1695 |
|
esc_attr( $this->get_widget_type() ) |
| 1696 |
|
); |
| 1697 |
|
} else { |
| 1698 |
|
$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 ); |
| 1699 |
|
} |
| 1700 |
|
|
| 1701 |
|
/** This filter is already documented in modules/sharedaddy/sharing-sources.php */ |
| 1702 |
|
if ( apply_filters( 'jetpack_register_post_for_share_counts', true, $post->ID, 'linkedin' ) ) { |