[wp-trac] [WordPress Trac] #20876: Customizer: Some error handling should be included, e.g. for cookie expiration
WordPress Trac
wp-trac at lists.automattic.com
Fri Jun 8 03:59:46 UTC 2012
#20876: Customizer: Some error handling should be included, e.g. for cookie
expiration
--------------------------+--------------------------
Reporter: ocean90 | Owner: koopersmith
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 3.4
Component: Appearance | Version: 3.4
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+--------------------------
Comment (by nacin):
[attachment:20876.diff] implements a nonce check for ajax previews, via
the customize-preview-$stylesheet nonce. (Saves are already implemented
with customize-controls-$stylesheet.) The preview nonce is then check for
its nonce tick, and if in the second half of its life, fresh nonces are
returned for both customize-controls and customize-preview. koopersmith
will be cleaning up the JS and ensuring that, if new nonces are returned,
they begin to get used for future previews and saves.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20876#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list