[wp-trac] [WordPress Trac] #28721: Scheduled changes for the customizer
WordPress Trac
noreply at wordpress.org
Thu Nov 9 04:43:11 UTC 2017
#28721: Scheduled changes for the customizer
-----------------------------+----------------------
Reporter: danielbachhuber | Owner: sayedwp
Type: enhancement | Status: closed
Priority: high | Milestone: 4.9
Component: Customize | Version:
Severity: normal | Resolution: fixed
Keywords: needs-patch | Focuses:
-----------------------------+----------------------
Comment (by westonruter):
In [changeset:"42138"]:
{{{
#!CommitTicketReference repository="" revision="42138"
Customize: Fix reliability of just-in-time publishing for changesets that
miss their schedule when visiting `customize.php`.
When just doing `wp_publish_post()` for the changeset from
`customize.php`, any option-based settings will fail to get saved because
`WP_Customize_Manager` would have already been loaded with
`settings_previewed`, resulting in `update_option()` calls being short-
circuited. So an admin-ajax request to `customize_save` is used to work
around this.
Props westonruter, jeremyfelt, dlh for testing, LittleBigThing for
testing.
Amends [41626].
See #28721, #39221.
Fixes #42457 for trunk.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28721#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list