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

WordPress Trac noreply at wordpress.org
Fri Sep 29 12:58:24 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):

 @iseulde the way this should work is if your 24 hr nonce is more than 12
 hrs old, you get a new 24 hr nonce. So every 12 hours you should get a new
 nonce that would last 24 hours. As long as you keep checking at least once
 every < 12 hrs, you should always have a nonce that will last you 12+ hrs.
 Can you test the latest patch on the PR, it should work as expected.

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


More information about the wp-trac mailing list