[wp-trac] [WordPress Trac] #35617: Export more Customizer app settings in preview
WordPress Trac
noreply at wordpress.org
Wed Jan 27 17:54:42 UTC 2016
#35617: Export more Customizer app settings in preview
-------------------------+--------------------------
Reporter: westonruter | Owner: westonruter
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.5
Component: Customize | Version: 3.4
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: javascript
-------------------------+--------------------------
Changes (by westonruter):
* status: accepted => closed
* resolution: => fixed
Comment:
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/35617#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list