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:
parent
2ae0f807ce
commit
b23d590bf2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user