Customize: Prevent `history.replaceState()` and `history.pushState()` calls from causing error in customize preview before DOM ready.
Amends [41597]. See #39896. Fixes #42414. Built from https://develop.svn.wordpress.org/trunk@42108 git-svn-id: http://core.svn.wordpress.org/trunk@41937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5f16c57782
commit
fbee634ac7
|
@ -36,7 +36,7 @@
|
|||
newQueryParams = api.utils.parseQueryString( urlParser.search.substr( 1 ) );
|
||||
|
||||
newQueryParams.customize_changeset_uuid = oldQueryParams.customize_changeset_uuid;
|
||||
if ( api.settings.changeset.autosaved ) {
|
||||
if ( oldQueryParams.customize_autosaved ) {
|
||||
newQueryParams.customize_autosaved = 'on';
|
||||
}
|
||||
if ( oldQueryParams.customize_theme ) {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.9-RC1-42107';
|
||||
$wp_version = '4.9-RC1-42108';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue