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

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


git-svn-id: https://develop.svn.wordpress.org/trunk@42118 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Weston Ruter 2017-11-06 23:10:05 +00:00
parent 2ae0f807ce
commit b23d590bf2
1 changed files with 0 additions and 3 deletions

View File

@ -7775,9 +7775,6 @@
if ( ! api.state( 'activated' ).get() ) {
params.customize_theme = api.settings.theme.stylesheet;
}
if ( api.settings.changeset.autosaved || ! api.state( 'saved' ).get() ) {
params.customize_autosaved = 'on';
}
urlParser.search = $.param( params );
return urlParser.href;