Code Duplication    Length = 3-3 lines in 2 locations

modules/subscriptions.php 1 location

@@ 818-820 (lines=3) @@
815
		echo $args['before_widget'];
816
817
		// Only show the title if there actually is a title
818
		if( ! empty( $instance['title'] ) ) {
819
			echo $args['before_title'] . esc_attr( $instance['title'] ) . $args['after_title'] . "\n";
820
		}
821
822
		$referer = set_url_scheme( 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] );
823

modules/widgets/social-media-icons.php 1 location

@@ 211-213 (lines=3) @@
208
		$html = apply_filters( 'jetpack_social_media_icons_widget_array', $html );
209
		ksort( $html );
210
		$html = '<ul><li>' . join( '</li><li>', $html ) . '</li></ul>';
211
		if ( ! empty( $instance['title'] ) ) {
212
			$html = $args['before_title'] . esc_html( $instance['title'] ) . $args['after_title'] . $html;
213
		}
214
		$html = $args['before_widget'] . $html . $args['after_widget'];
215
216
		/** This action is documented in modules/widgets/gravatar-profile.php */