Code Duplication    Length = 3-3 lines in 2 locations

modules/subscriptions.php 1 location

@@ 812-814 (lines=3) @@
809
		echo $args['before_widget'];
810
811
		// Only show the title if there actually is a title
812
		if( ! empty( $instance['title'] ) ) {
813
			echo $args['before_title'] . esc_attr( $instance['title'] ) . $args['after_title'] . "\n";
814
		}
815
816
		$referer = set_url_scheme( 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] );
817

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

@@ 155-157 (lines=3) @@
152
		ksort( $html );
153
		$html = '<ul><li>' . join( '</li><li>', $html ) . '</li></ul>';
154
155
		if ( ! empty( $instance['title'] ) ) {
156
			$html = $args['before_title'] . esc_html( $instance['title'] ) . $args['after_title'] . $html;
157
		}
158
159
		$html = $args['before_widget'] . $html . $args['after_widget'];
160