Code Duplication    Length = 3-4 lines in 2 locations

modules/widgets/flickr.php 1 location

@@ 158-161 (lines=4) @@
155
						esc_html__( '(Only admins can see this message)', 'jetpack' )
156
					);
157
				}
158
			} else {
159
				echo $args['before_title'] . esc_html( $instance['title'] ) . $args['after_title'];
160
				require( dirname( __FILE__ ) . '/flickr/widget.php' );
161
			}
162
			echo $args['after_widget'];
163
			/** This action is already documented in modules/widgets/gravatar-profile.php */
164
			do_action( 'jetpack_stats_extra', 'widget_view', 'flickr' );

modules/widgets/contact-info.php 1 location

@@ 98-100 (lines=3) @@
95
96
			echo $args['before_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
97
98
			if ( '' !== $instance['title'] ) {
99
				echo $args['before_title'] . esc_html( $instance['title'] ) . $args['after_title']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
100
			}
101
102
			/**
103
			 * Fires at the beginning of the Contact Info widget, after the title.