Code Duplication    Length = 2-3 lines in 3 locations

modules/sharedaddy/sharing-sources.php 3 locations

@@ 931-932 (lines=2) @@
928
	public function get_display( $post ) {
929
		if ( $this->smart ) {
930
			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>';
931
		} else {
932
			return $this->get_link( $this->get_process_request_url( $post->ID ), _x( 'Reddit', 'share to', 'jetpack' ), __( 'Click to share on Reddit', 'jetpack' ), 'share=reddit' );
933
		}
934
	}
935
@@ 1547-1549 (lines=3) @@
1544
				__( 'Share on Tumblr', 'jetpack' ),
1545
				$posttype
1546
			);
1547
		 } else {
1548
			return $this->get_link( $this->get_process_request_url( $post->ID ), _x( 'Tumblr', 'share to', 'jetpack' ), __( 'Click to share on Tumblr', 'jetpack' ), 'share=tumblr' );
1549
		}
1550
	}
1551
1552
	public function process_request( $post, array $post_data ) {
@@ 1760-1762 (lines=3) @@
1757
			$button .= '</div>';
1758
1759
			return $button;
1760
		} else {
1761
			return $this->get_link( $this->get_process_request_url( $post->ID ), _x( 'Pocket', 'share to', 'jetpack' ), __( 'Click to share on Pocket', 'jetpack' ), 'share=pocket' );
1762
		}
1763
1764
	}
1765