mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Customizer: Allow sections and panels to be exported to JS.
Also fix param docs for `customize_dynamic_setting_class` filter, and use `require_once` for `class-wp-customize-manager.php` in bootstrap function `_wp_customize_include()`. See #30737, #32576. git-svn-id: https://develop.svn.wordpress.org/trunk@32744 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1992,9 +1992,8 @@ function _wp_customize_include() {
|
||||
) )
|
||||
return;
|
||||
|
||||
require( ABSPATH . WPINC . '/class-wp-customize-manager.php' );
|
||||
// Init Customize class
|
||||
$GLOBALS['wp_customize'] = new WP_Customize_Manager;
|
||||
require_once ABSPATH . WPINC . '/class-wp-customize-manager.php';
|
||||
$GLOBALS['wp_customize'] = new WP_Customize_Manager();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user