Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

ccprog on "Hook into wp_auth_check?"

$
0
0

I have a plugin settings page with multiple tabs that are loaded individually using Ajax requests. I find that after wp-auth-check forces a new login the nonce I use in these requests has expired - rightfully so.

But how do I get a new one? My idea would be to check heartbeat-tick.wp-auth-check data for being false and then enqueue my own heartbeat request. Is that a good idea or is there another way I am supposed to do it?


Viewing all articles
Browse latest Browse all 8245

Trending Articles