Make WordPress Core


Ignore:
Timestamp:
06/12/2015 10:53:39 PM (9 years ago)
Author:
westonruter
Message:

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.

File:
1 edited

Legend:

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

    r32650 r32744  
    19931993        return;
    19941994
    1995     require( ABSPATH . WPINC . '/class-wp-customize-manager.php' );
    1996     // Init Customize class
    1997     $GLOBALS['wp_customize'] = new WP_Customize_Manager;
     1995    require_once ABSPATH . WPINC . '/class-wp-customize-manager.php';
     1996    $GLOBALS['wp_customize'] = new WP_Customize_Manager();
    19981997}
    19991998
Note: See TracChangeset for help on using the changeset viewer.