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/googleplus-badge.php 1 location

@@ 100-102 (lines=3) @@
97
98
		echo $args['before_widget'];
99
100
		if ( ! empty( $title ) ) {
101
			echo $args['before_title'] . esc_html( $title ) . $args['after_title'];
102
		}
103
104
		switch( $instance['type'] ) {
105
			case 'person':

modules/widgets/google-translate.php 1 location

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