Make WordPress Core

Changeset 20600


Ignore:
Timestamp:
04/25/2012 09:30:02 PM (13 years ago)
Author:
nacin
Message:

Initialize the WP_Customize class in a prefixed global. props mattonomics. fixes #20465.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/theme.php

    r20551 r20600  
    15801580    require( ABSPATH . WPINC . '/class-wp-customize.php' );
    15811581    // Init Customize class
    1582     // @todo Dependency injection instead
    1583     $GLOBALS['customize'] = new WP_Customize;
     1582    $GLOBALS['wp_customize'] = new WP_Customize;
    15841583}
    15851584add_action( 'plugins_loaded', '_wp_customize_include' );
Note: See TracChangeset for help on using the changeset viewer.