[wp-trac] [WordPress Trac] #27355: Customizer: Add framework for selective refresh (partial preview refreshes)

WordPress Trac noreply at wordpress.org
Wed Jan 27 17:54:43 UTC 2016


#27355: Customizer: Add framework for selective refresh (partial preview refreshes)
----------------------------+--------------------------
 Reporter:  westonruter     |       Owner:  westonruter
     Type:  task (blessed)  |      Status:  assigned
 Priority:  normal          |   Milestone:  4.5
Component:  Customize       |     Version:  3.4
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:  javascript
----------------------------+--------------------------

Comment (by westonruter):

 In [changeset:"36414"]:
 {{{
 #!CommitTicketReference repository="" revision="36414"
 Customizer: Export `nonce`, `theme`, and `url` app settings in preview as
 exported in pane.

 * Introduce `WP_Customize_Manager::get_nonces()` to consolidate logic for
 retrieving nonces.
 * Export nonces centrally in `wp.customize.settings.nonce` with each
 request and update nav menus preview to utilize.
 * Send updated nonces to preview upon `nonce-refresh`.
 * Request full preview refresh if Nav Menu selective refresh request fails
 (e.g. due to bad nonce).
 * Update nav menus and widgets in Customizer to utilize
 `customize_refresh_nonces` for exporting nonces and keeping them up to
 date.

 See #27355.
 Fixes #35617.
 }}}

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


More information about the wp-trac mailing list