Changeset 19995 for trunk/wp-includes/theme.php
- Timestamp:
- 02/25/2012 04:12:43 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/theme.php
r19969 r19995 2083 2083 } 2084 2084 } 2085 2086 function wp_customize_load() { 2087 // Load on themes.php or ?customize=on 2088 if ( ! ( isset( $_REQUEST['customize'] ) && 'on' == $_REQUEST['customize'] ) && 'themes.php' != $GLOBALS['pagenow'] ) 2089 return; 2090 2091 require( ABSPATH . WPINC . '/class-wp-customize.php' ); 2092 // Init Customize class 2093 // @todo Dependency injection instead 2094 $GLOBALS['customize'] = new WP_Customize; 2095 } 2096 add_action( 'plugins_loaded', 'wp_customize_load' );
Note: See TracChangeset
for help on using the changeset viewer.