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

@@ 111-113 (lines=3) @@
108
109
		echo $args['before_widget'];
110
111
		if ( ! empty( $title ) ) {
112
			echo $args['before_title'] . esc_html( $title ) . $args['after_title'];
113
		}
114
115
		if ( ! empty( $instance['icons'] ) ) :
116