[wp-trac] [WordPress Trac] #40422: REST API JavaScript Client: refresh nonce when a new nonce is available
WordPress Trac
noreply at wordpress.org
Wed Apr 19 07:11:06 UTC 2017
#40422: REST API JavaScript Client: refresh nonce when a new nonce is available
-----------------------------+------------------------------
Reporter: adamsilverstein | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 4.7
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: javascript
-----------------------------+------------------------------
Comment (by rmccue):
This is useful if you're sending API endpoint requests constantly, but not
if you just leave the tab open in the background, which still needs
heartbeat.
(Also, your patch still has a console.log call in it. :) )
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40422#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list