Code Duplication    Length = 2-3 lines in 3 locations

modules/sharedaddy/sharing-sources.php 3 locations

@@ 751-752 (lines=2) @@
748
	public function get_display( $post ) {
749
		if ( $this->smart )
750
			return '<div class="reddit_button"><iframe src="' . $this->http() . '://www.reddit.com/static/button/button1.html?newwindow=true&width=120&amp;url=' . rawurlencode( $this->get_share_url( $post->ID ) ) . '&amp;title=' . rawurlencode( $this->get_share_title( $post->ID ) ) . '" height="22" width="120" scrolling="no" frameborder="0"></iframe></div>';
751
		else
752
			return $this->get_link( $this->get_process_request_url( $post->ID ), _x( 'Reddit', 'share to', 'jetpack' ), __( 'Click to share on Reddit', 'jetpack' ), 'share=reddit' );
753
	}
754
755
	public function process_request( $post, array $post_data ) {
@@ 1369-1371 (lines=3) @@
1366
				$target = '_blank';
1367
1368
			return '<a target="' . $target . '" href="https://www.tumblr.com/share/link/?url=' . rawurlencode( $this->get_share_url( $post->ID ) ) . '&name=' . rawurlencode( $this->get_share_title( $post->ID ) ) . '" title="' . __( 'Share on Tumblr', 'jetpack' ) . '" style="display:inline-block; text-indent:-9999px; overflow:hidden; width:62px; height:20px; background:url(\'https://platform.tumblr.com/v1/share_2.png\') top left no-repeat transparent;">' . __( 'Share on Tumblr', 'jetpack' ) . '</a>';
1369
		 } else {
1370
			return $this->get_link( $this->get_process_request_url( $post->ID ), _x( 'Tumblr', 'share to', 'jetpack' ), __( 'Click to share on Tumblr', 'jetpack' ), 'share=tumblr' );
1371
		}
1372
	}
1373
1374
	public function process_request( $post, array $post_data ) {
@@ 1578-1580 (lines=3) @@
1575
			$button .= '</div>';
1576
1577
			return $button;
1578
		} else {
1579
			return $this->get_link( $this->get_process_request_url( $post->ID ), _x( 'Pocket', 'share to', 'jetpack' ), __( 'Click to share on Pocket', 'jetpack' ), 'share=pocket' );
1580
		}
1581
1582
	}
1583