Code Duplication    Length = 3-3 lines in 2 locations

modules/sharedaddy/sharing-sources.php 2 locations

@@ 977-979 (lines=3) @@
974
		if ( $this->smart ) {
975
			$share_url = $this->get_share_url( $post->ID );
976
			$display .= sprintf( '<div class="linkedin_button"><script type="in/share" data-url="%s" data-counter="right"></script></div>', esc_url( $share_url ) );
977
		} else {
978
			$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 );
979
		}
980
981
		/** This filter is already documented in modules/sharedaddy/sharing-sources.php */
982
		if ( apply_filters( 'jetpack_register_post_for_share_counts', true, $post->ID, 'linkedin' ) ) {
@@ 1636-1638 (lines=3) @@
1633
				esc_url( $this->get_external_url( $post ) ),
1634
				esc_attr( $this->get_widget_type() )
1635
			);
1636
		} else {
1637
			$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 );
1638
		}
1639
1640
		/** This filter is already documented in modules/sharedaddy/sharing-sources.php */
1641
		if ( apply_filters( 'jetpack_register_post_for_share_counts', true, $post->ID, 'linkedin' ) ) {