[wp-trac] [WordPress Trac] #37569: REST API: refresh expired nonces

WordPress Trac noreply at wordpress.org
Fri Sep 29 19:40:14 UTC 2017


#37569: REST API: refresh expired nonces
-----------------------------------------------+------------------
 Reporter:  iseulde                            |       Owner:
     Type:  enhancement                        |      Status:  new
 Priority:  normal                             |   Milestone:  4.9
Component:  REST API                           |     Version:  4.4
 Severity:  normal                             |  Resolution:
 Keywords:  needs-docs dev-feedback has-patch  |     Focuses:
-----------------------------------------------+------------------

Comment (by adamsilverstein):

 Probably makes the most sense to test this feature in Gutenberg first
 since its needed there and we don't really need it in core otherwise and
 it would be easy for clients to add if they need it. In
 [attachment:37569.2.diff] I cleaned up a tiny bit and added `wp-api-nonce`
 as a dependency of `wp-api`, however we should probably only load it if
 heartbeat is active. Also, it would be great to add some unit tests
 demonstrating how this works.

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


More information about the wp-trac mailing list