Make WordPress Core

Ticket #42414: 42414.0.diff

File 42414.0.diff, 595 bytes (added by westonruter, 7 years ago)
  • src/wp-includes/js/customize-preview.js

    diff --git src/wp-includes/js/customize-preview.js src/wp-includes/js/customize-preview.js
    index c5ea964461..684837576f 100644
     
    3636                        newQueryParams = api.utils.parseQueryString( urlParser.search.substr( 1 ) );
    3737
    3838                        newQueryParams.customize_changeset_uuid = oldQueryParams.customize_changeset_uuid;
    39                         if ( api.settings.changeset.autosaved ) {
     39                        if ( oldQueryParams.customize_autosaved ) {
    4040                                newQueryParams.customize_autosaved = 'on';
    4141                        }
    4242                        if ( oldQueryParams.customize_theme ) {