[wp-trac] [WordPress Trac] #35662: Include a refreshed nonce when responding to an authenticated REST API response

WordPress Trac noreply at wordpress.org
Fri Jan 29 16:34:31 UTC 2016


#35662: Include a refreshed nonce when responding to an authenticated REST API
response
-----------------------------+------------------------------
 Reporter:  adamsilverstein  |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  General          |     Version:  4.4
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+------------------------------

Comment (by adamsilverstein):

 In [attachment:35662.diff]:

 * Add a `X-WP-Nonce` header with a refreshed nonce when the request is
 authenticated.

 Going to update slightly so its only sent when there is an existing nonce.

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


More information about the wp-trac mailing list