Customize: Update `customize.php` URL with `changeset_uuid` param the instant a change is made instead of deferring until the changeset update request responds.

Props asalce.
Fixes #39227.

Built from https://develop.svn.wordpress.org/trunk@39686


git-svn-id: http://core.svn.wordpress.org/trunk@39626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Weston Ruter 2017-01-05 05:18:43 +00:00
parent ea0f8b53f1
commit 5468850b10
3 changed files with 7 additions and 3 deletions

View File

@ -4696,7 +4696,10 @@
editShortcutVisibility( 'visible' ); editShortcutVisibility( 'visible' );
api.bind( 'change', function() { api.bind( 'change', function() {
state('saved').set( false ); if ( state( 'saved' ).get() ) {
state( 'saved' ).set( false );
populateChangesetUuidParam( true );
}
}); });
saving.bind( function( isSaving ) { saving.bind( function( isSaving ) {

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.8-alpha-39685'; $wp_version = '4.8-alpha-39686';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.