Customize: Ensure `changeset_uuid` query param is removed from the `customize.php` window's location once a changeset has been published (committed) with starter content.
Props westonruter, dlh for testing. See #30937. Fixes #39081. Built from https://develop.svn.wordpress.org/trunk@39504 git-svn-id: http://core.svn.wordpress.org/trunk@39444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
97f4180916
commit
6a3de4d857
|
@ -4746,13 +4746,8 @@
|
|||
};
|
||||
|
||||
if ( history.replaceState ) {
|
||||
saved.bind( function( isSaved ) {
|
||||
if ( ! isSaved ) {
|
||||
populateChangesetUuidParam( true );
|
||||
}
|
||||
} );
|
||||
changesetStatus.bind( function( newStatus ) {
|
||||
populateChangesetUuidParam( '' !== newStatus );
|
||||
populateChangesetUuidParam( '' !== newStatus && 'publish' !== newStatus );
|
||||
} );
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.8-alpha-39502';
|
||||
$wp_version = '4.8-alpha-39504';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue