Wordpress LScache Plugin: How to use/replace wp_verify_nonce()
Last Updated on: Wed, 15 Apr 2026 00:00:02 I have a piece of code that uses nonce to verify ajax calls. on the page the nonce looked like this: / / and ajax: $.ajax( ... data: action: my_code, nonce: my_code_params[_nonce], ... and nonce was verified like this: $nonce = $_REQUEST[nonce] if (wp_verify_nonce($nonce, my_code_nonce)) I followed the instruction on hot to convert custom nonce to esi. This changed my nonce to: / / ]]> / Now my nonce is what I assume to be an ESI block. My question is, how do I verify the nonce (or ESI block)? you should not need to edit the verify part , only the create part did you enable the ESI ? because
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference