Changeset 20890
- Timestamp:
- 05/24/2012 10:45:27 PM (14 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
-
js/customize-loader.dev.js (modified) (3 diffs)
-
theme.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/customize-loader.dev.js
r20886 r20890 41 41 this.window.on( 'popstate', Loader.popstate ); 42 42 43 if ( $.support.hashchange ) 43 if ( $.support.hashchange ) { 44 44 this.window.on( 'hashchange', Loader.hashchange ); 45 this.window.triggerHandler( 'hashchange' ); 46 } 45 47 }, 46 48 … … 57 59 58 60 if ( hash && 0 === hash.indexOf( 'customize=on' ) ) 59 Loader.open( wpCustomizeLoaderL10n.url + '?' + hash );61 Loader.open( Loader.settings.url + '?' + hash ); 60 62 61 63 if ( ! hash && ! $.support.history ) … … 98 100 history.pushState( { customize: src }, '', src ); 99 101 else if ( ! $.support.history && $.support.hashchange && hash ) 100 window.location.hash = hash;102 window.location.hash = 'customize=on&' + hash; 101 103 102 104 this.trigger( 'open' ); -
trunk/wp-includes/theme.php
r20886 r20890 1597 1597 1598 1598 $settings = array( 1599 'url' => esc_url( admin_url( ' admin.php' ) ),1599 'url' => esc_url( admin_url( 'customize.php' ) ), 1600 1600 'isCrossDomain' => $cross_domain, 1601 1601 );
Note: See TracChangeset
for help on using the changeset viewer.