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

WordPress Trac noreply at wordpress.org
Wed Feb 24 19:29:03 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 needs-unit-tests  |     Focuses:  javascript
------------------------------------------+-----------------------------

Comment (by adamsilverstein):

 @westonruter think I addressed all your points...

 In [attachment:31897.3.diff]:
 * Add `current_user_can( 'customize' )` cap check
 * Add docblocks
 * Add a `heartbeat_settings` filter to set the `$screen_id` to `customize`
 * Some renaming as suggested

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


More information about the wp-trac mailing list