Code Duplication    Length = 3-3 lines in 2 locations

modules/sharedaddy/sharing-sources.php 2 locations

@@ 988-990 (lines=3) @@
985
		if ( $this->smart ) {
986
			$share_url = $this->get_share_url( $post->ID );
987
			$display .= sprintf( '<div class="linkedin_button"><script type="in/share" data-url="%s" data-counter="right"></script></div>', esc_url( $share_url ) );
988
		} else {
989
			$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 );
990
		}
991
992
		/** This filter is already documented in modules/sharedaddy/sharing-sources.php */
993
		if ( apply_filters( 'jetpack_register_post_for_share_counts', true, $post->ID, 'linkedin' ) ) {
@@ 1647-1649 (lines=3) @@
1644
				esc_url( $this->get_external_url( $post ) ),
1645
				esc_attr( $this->get_widget_type() )
1646
			);
1647
		} else {
1648
			$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 );
1649
		}
1650
1651
		/** This filter is already documented in modules/sharedaddy/sharing-sources.php */
1652
		if ( apply_filters( 'jetpack_register_post_for_share_counts', true, $post->ID, 'linkedin' ) ) {