diff --git a/src/wp-includes/theme.php b/src/wp-includes/theme.php
index 85119ed..0f3b5f4 100644
|
a
|
b
|
function _wp_customize_include() {
|
| 1902 | 1902 | || ( is_admin() && 'customize.php' == basename( $_SERVER['PHP_SELF'] ) ) |
| 1903 | 1903 | ) ) |
| 1904 | 1904 | return; |
| | 1905 | wp_bootstrap_customize_manager(); |
| | 1906 | } |
| | 1907 | add_action( 'plugins_loaded', '_wp_customize_include' ); |
| 1905 | 1908 | |
| | 1909 | /** |
| | 1910 | * Include the WP_Customize_Manager class and instantiate it into the wp_customize global. |
| | 1911 | * |
| | 1912 | * @since 4.0.0 |
| | 1913 | */ |
| | 1914 | function wp_bootstrap_customize_manager() { |
| 1906 | 1915 | require( ABSPATH . WPINC . '/class-wp-customize-manager.php' ); |
| 1907 | 1916 | // Init Customize class |
| 1908 | 1917 | $GLOBALS['wp_customize'] = new WP_Customize_Manager; |
| 1909 | 1918 | } |
| 1910 | | add_action( 'plugins_loaded', '_wp_customize_include' ); |
| 1911 | 1919 | |
| 1912 | 1920 | /** |
| 1913 | 1921 | * Adds settings for the customize-loader script. |