Skip to main content

Timeline for Reduce nonce lifespan

Current License: CC BY-SA 4.0

10 events
when toggle format what by license comment
May 9, 2022 at 9:27 comment added User Ingenious solution indeed!
May 6, 2022 at 10:16 history edited Paul G. CC BY-SA 4.0
update code based on comment
May 6, 2022 at 10:13 comment added Paul G. Then the solution would be much the same. Wrap the use of wp_verify_nonce() with the same filters and in the same way as you wrap wp_create_nonce()
May 5, 2022 at 8:13 comment added User Yes, I've tested it :)
May 4, 2022 at 21:07 comment added Paul G. Did you actually test it?
May 4, 2022 at 16:30 comment added User I don't think it works because the nonce_life hook is also used by wp_verify_nonce(): its value must remain constant betweenwp_create_nonce() and wp_verify_nonce().
Sep 21, 2020 at 17:40 review Suggested edits
Sep 21, 2020 at 22:14
Sep 3, 2017 at 20:45 comment added Paul G. Glad it helps! :)
Sep 3, 2017 at 7:55 vote accept 3000
Sep 2, 2017 at 16:48 history answered Paul G. CC BY-SA 3.0