Code Duplication    Length = 4-4 lines in 3 locations

src/wp-includes/class-wp-customize-manager.php 3 locations

@@ 261-264 (lines=4) @@
258
		 */
259
		$components = apply_filters( 'customize_loaded_components', $this->components, $this );
260
261
		if ( in_array( 'widgets', $components, true ) ) {
262
			require_once( ABSPATH . WPINC . '/class-wp-customize-widgets.php' );
263
			$this->widgets = new WP_Customize_Widgets( $this );
264
		}
265
266
		if ( in_array( 'nav_menus', $components, true ) ) {
267
			require_once( ABSPATH . WPINC . '/class-wp-customize-nav-menus.php' );
@@ 266-269 (lines=4) @@
263
			$this->widgets = new WP_Customize_Widgets( $this );
264
		}
265
266
		if ( in_array( 'nav_menus', $components, true ) ) {
267
			require_once( ABSPATH . WPINC . '/class-wp-customize-nav-menus.php' );
268
			$this->nav_menus = new WP_Customize_Nav_Menus( $this );
269
		}
270
271
		if ( in_array( 'selective_refresh', $components, true ) ) {
272
			require_once( ABSPATH . WPINC . '/customize/class-wp-customize-selective-refresh.php' );
@@ 271-274 (lines=4) @@
268
			$this->nav_menus = new WP_Customize_Nav_Menus( $this );
269
		}
270
271
		if ( in_array( 'selective_refresh', $components, true ) ) {
272
			require_once( ABSPATH . WPINC . '/customize/class-wp-customize-selective-refresh.php' );
273
			$this->selective_refresh = new WP_Customize_Selective_Refresh( $this );
274
		}
275
276
		add_filter( 'wp_die_handler', array( $this, 'wp_die_handler' ) );
277