WordPress.org

Make WordPress Core

Ticket #20465: theme.php.patch

File theme.php.patch, 351 bytes (added by mattonomics, 6 years ago)
  • theme.php

     
    15781578        require( ABSPATH . WPINC . '/class-wp-customize.php' );
    15791579        // Init Customize class
    15801580        // @todo Dependency injection instead
    1581         $GLOBALS['customize'] = new WP_Customize;
     1581        $GLOBALS['wp_customize'] = new WP_Customize;
    15821582}
    15831583add_action( 'plugins_loaded', '_wp_customize_include' );
    15841584