Changeset 21016
- Timestamp:
- 06/07/2012 01:29:57 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/js/customize-controls.dev.js
r21014 r21016 587 587 query: function() { 588 588 return { 589 customize:'on',590 theme: api.settings.theme.stylesheet,591 customized: JSON.stringify( api.get() )589 wp_customize: 'on', 590 theme: api.settings.theme.stylesheet, 591 customized: JSON.stringify( api.get() ) 592 592 }; 593 593 }, -
trunk/wp-includes/js/customize-loader.dev.js
r21014 r21016 55 55 var hash = window.location.toString().split('#')[1]; 56 56 57 if ( hash && 0 === hash.indexOf( ' customize=on' ) )57 if ( hash && 0 === hash.indexOf( 'wp_customize=on' ) ) 58 58 Loader.open( Loader.settings.url + '?' + hash ); 59 59 … … 105 105 history.pushState( { customize: src }, '', src ); 106 106 else if ( ! $.support.history && $.support.hashchange && hash ) 107 window.location.hash = ' customize=on&' + hash;107 window.location.hash = 'wp_customize=on&' + hash; 108 108 109 109 this.trigger( 'open' ); -
trunk/wp-includes/theme.php
r21014 r21016 1579 1579 * Includes and instantiates the WP_Customize_Manager class. 1580 1580 * 1581 * Fires when ? customize=on.1581 * Fires when ?wp_customize=on or on wp-admin/customize.php. 1582 1582 * 1583 1583 * @since 3.4.0 1584 1584 */ 1585 1585 function _wp_customize_include() { 1586 // Load on themes.php or ?customize=on 1587 if ( ! ( ( isset( $_REQUEST['customize'] ) && 'on' == $_REQUEST['customize'] ) || 'customize.php' == basename( $_SERVER['PHP_SELF'] ) ) ) 1586 if ( ! ( ( isset( $_REQUEST['wp_customize'] ) && 'on' == $_REQUEST['wp_customize'] ) 1587 || ( is_admin() && 'customize.php' == basename( $_SERVER['PHP_SELF'] ) ) 1588 ) ) 1588 1589 return; 1589 1590
Note: See TracChangeset
for help on using the changeset viewer.