Code Duplication    Length = 2-3 lines in 3 locations

modules/sharedaddy/sharing-sources.php 3 locations

@@ 916-917 (lines=2) @@
913
	public function get_display( $post ) {
914
		if ( $this->smart ) {
915
			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>';
916
		} else {
917
			return $this->get_link( $this->get_process_request_url( $post->ID ), _x( 'Reddit', 'share to', 'jetpack' ), __( 'Click to share on Reddit', 'jetpack' ), 'share=reddit' );
918
		}
919
	}
920
@@ 1532-1534 (lines=3) @@
1529
				__( 'Share on Tumblr', 'jetpack' ),
1530
				$posttype
1531
			);
1532
		 } else {
1533
			return $this->get_link( $this->get_process_request_url( $post->ID ), _x( 'Tumblr', 'share to', 'jetpack' ), __( 'Click to share on Tumblr', 'jetpack' ), 'share=tumblr' );
1534
		}
1535
	}
1536
1537
	public function process_request( $post, array $post_data ) {
@@ 1745-1747 (lines=3) @@
1742
			$button .= '</div>';
1743
1744
			return $button;
1745
		} else {
1746
			return $this->get_link( $this->get_process_request_url( $post->ID ), _x( 'Pocket', 'share to', 'jetpack' ), __( 'Click to share on Pocket', 'jetpack' ), 'share=pocket' );
1747
		}
1748
1749
	}
1750