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

@@ 79-81 (lines=3) @@
76
			$title = apply_filters( 'widget_title', $title );
77
78
			echo $args['before_widget'];
79
			if ( ! empty( $title ) ) {
80
				echo $args['before_title'] . esc_html( $title ) . $args['after_title'];
81
			}
82
			echo '<div id="google_translate_element"></div>';
83
			echo $args['after_widget'];
84
			self::$instance = $instance;