Code Duplication    Length = 3-3 lines in 2 locations

modules/sharedaddy/sharing-sources.php 2 locations

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