[wp-trac] [WordPress Trac] #28721: Scheduled changes for the customizer

WordPress Trac noreply at wordpress.org
Thu Nov 9 04:44:37 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:"42139"]:
 {{{
 #!CommitTicketReference repository="" revision="42139"
 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 4.9.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28721#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list