Code Duplication    Length = 2-3 lines in 3 locations

modules/sharedaddy/sharing-sources.php 3 locations

@@ 920-921 (lines=2) @@
917
	public function get_display( $post ) {
918
		if ( $this->smart ) {
919
			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>';
920
		} else {
921
			return $this->get_link( $this->get_process_request_url( $post->ID ), _x( 'Reddit', 'share to', 'jetpack' ), __( 'Click to share on Reddit', 'jetpack' ), 'share=reddit' );
922
		}
923
	}
924
@@ 1536-1538 (lines=3) @@
1533
				__( 'Share on Tumblr', 'jetpack' ),
1534
				$posttype
1535
			);
1536
		 } else {
1537
			return $this->get_link( $this->get_process_request_url( $post->ID ), _x( 'Tumblr', 'share to', 'jetpack' ), __( 'Click to share on Tumblr', 'jetpack' ), 'share=tumblr' );
1538
		}
1539
	}
1540
1541
	public function process_request( $post, array $post_data ) {
@@ 1749-1751 (lines=3) @@
1746
			$button .= '</div>';
1747
1748
			return $button;
1749
		} else {
1750
			return $this->get_link( $this->get_process_request_url( $post->ID ), _x( 'Pocket', 'share to', 'jetpack' ), __( 'Click to share on Pocket', 'jetpack' ), 'share=pocket' );
1751
		}
1752
1753
	}
1754