[wp-trac] [WordPress Trac] #31897: Update Customizer nonces via Heartbeat API

WordPress Trac noreply at wordpress.org
Wed Feb 24 17:54:39 UTC 2016


#31897: Update Customizer nonces via Heartbeat API
-------------------------+-----------------------------
 Reporter:  westonruter  |       Owner:  voldemortensen
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  Future Release
Component:  Customize    |     Version:  3.4
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:  javascript
-------------------------+-----------------------------

Comment (by adamsilverstein):

 In [attachment:31897.diff]
 * Move customizer nonce refresh to hearbeat api
 * Bootstrap customizer when `heartbeat_received` data contains `wp-
 refresh-customizer-nonce` data
 * Add and apply new nonces if `wp_verify_nonce` returns 2.

 @westonruter I worked on this before reading your comment, open to
 suggestions for making the bootstrapping cleaner.

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


More information about the wp-trac mailing list