WordPress.org

Make WordPress Core

Changeset 42118


Ignore:
Timestamp:
11/06/2017 11:10:05 PM (2 years ago)
Author:
westonruter
Message:

Customize: Prevent customize_autosaved=on from getting added to frontend preview URLs.

Amends [41969].
See #39896, #42450.
Fixes #42433.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/customize-controls.js

    r42114 r42118  
    77767776                    params.customize_theme = api.settings.theme.stylesheet;
    77777777                }
    7778                 if ( api.settings.changeset.autosaved || ! api.state( 'saved' ).get() ) {
    7779                     params.customize_autosaved = 'on';
    7780                 }
    77817778
    77827779                urlParser.search = $.param( params );
Note: See TracChangeset for help on using the changeset viewer.