WordPress.org

Support

Support » Plugins and Hacks » Hacks » [Resolved] Problems getting new nonce for Ajax requests

[Resolved] Problems getting new nonce for Ajax requests

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    @bcworkz

    As it turns out, the WordPress nonce is not a number used once, it is number used as many times as you need in a 24 hour period. The factors used to create a nonce are what day it is, the user ID, and the string you provide to the create nonce function to differentiate it from other nonces. As long as none of these things change, you can keep using the same nonce any number of times.

    So failure to update your nonce after one use would not prevent you from doing the same action any number of times, there may be some other issue manifesting itself.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Problems getting new nonce for Ajax requests’ is closed to new replies.
Skip to toolbar