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