Code Duplication    Length = 3-3 lines in 2 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

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