Make WordPress Core

Changeset 40093


Ignore:
Timestamp:
02/21/2017 06:49:39 AM (10 years ago)
Author:
dd32
Message:

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, westonruter.
Merges [39686] to the 4.7 branch.
Fixes #39227.

Location:
branches/4.7
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.7

  • branches/4.7/src/wp-admin/js/customize-controls.js

    r39653 r40093  
    46974697
    46984698                        api.bind( 'change', function() {
    4699                                 state('saved').set( false );
     4699                                if ( state( 'saved' ).get() ) {
     4700                                        state( 'saved' ).set( false );
     4701                                        populateChangesetUuidParam( true );
     4702                                }
    47004703                        });
    47014704
Note: See TracChangeset for help on using the changeset viewer.