mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-24 15:45:29 +00:00
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. Merges [39504] onto 4.7 branch. Fixes #39081 for 4.7. Built from https://develop.svn.wordpress.org/branches/4.7@39505 git-svn-id: http://core.svn.wordpress.org/branches/4.7@39445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c34a4c0ba3
commit
0e7cc25529
@ -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 );
|
||||
} );
|
||||
}
|
||||
|
||||
|
2
wp-admin/js/customize-controls.min.js
vendored
2
wp-admin/js/customize-controls.min.js
vendored
File diff suppressed because one or more lines are too long
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.7-RC2-39503';
|
||||
$wp_version = '4.7-RC2-39505';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
x
Reference in New Issue
Block a user