Code Duplication    Length = 3-3 lines in 3 locations

modules/widgets/blog-stats.php 1 location

@@ 139-141 (lines=3) @@
136
137
		echo $args['before_widget'];
138
139
		if ( ! empty( $title ) ) {
140
			echo $args['before_title'] . esc_html( $title ) . $args['after_title'];
141
		}
142
143
		// Get the Site Stats.
144
		$views = $this->get_stats();

modules/widgets/google-translate.php 1 location

@@ 148-150 (lines=3) @@
145
			$title = apply_filters( 'widget_title', $title );
146
147
			echo $args['before_widget'];
148
			if ( ! empty( $title ) ) {
149
				echo $args['before_title'] . esc_html( $title ) . $args['after_title'];
150
			}
151
			echo '<div id="google_translate_element"></div>';
152
			echo $args['after_widget'];
153
			self::$instance = $instance;

modules/widgets/social-icons.php 1 location

@@ 128-130 (lines=3) @@
125
126
		echo $args['before_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
127
128
		if ( ! empty( $title ) ) {
129
			echo $args['before_title'] . esc_html( $title ) . $args['after_title']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
130
		}
131
132
		if ( ! empty( $instance['icons'] ) ) :
133