Code Duplication    Length = 2-3 lines in 3 locations

modules/sharedaddy/sharing-sources.php 3 locations

@@ 858-859 (lines=2) @@
855
	public function get_display( $post ) {
856
		if ( $this->smart ) {
857
			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>';
858
		} else {
859
			return $this->get_link( $this->get_process_request_url( $post->ID ), _x( 'Reddit', 'share to', 'jetpack' ), __( 'Click to share on Reddit', 'jetpack' ), 'share=reddit' );
860
		}
861
	}
862
@@ 1430-1432 (lines=3) @@
1427
				__( 'Share on Tumblr', 'jetpack' ),
1428
				$posttype
1429
			);
1430
		 } else {
1431
			return $this->get_link( $this->get_process_request_url( $post->ID ), _x( 'Tumblr', 'share to', 'jetpack' ), __( 'Click to share on Tumblr', 'jetpack' ), 'share=tumblr' );
1432
		}
1433
	}
1434
1435
	public function process_request( $post, array $post_data ) {
@@ 1643-1645 (lines=3) @@
1640
			$button .= '</div>';
1641
1642
			return $button;
1643
		} else {
1644
			return $this->get_link( $this->get_process_request_url( $post->ID ), _x( 'Pocket', 'share to', 'jetpack' ), __( 'Click to share on Pocket', 'jetpack' ), 'share=pocket' );
1645
		}
1646
1647
	}
1648