Excluding nonce from cache
-
I’m getting an nonce error when trying to subscribe from the footer on my site. I know this is probably due to autoptimize caching easy forms. I’m able to exclude certain .js scripts from caching, but I’m not sure which script to exclude to resolve this error. Here is the exact message:
Error: Sorry, the nonce security check didn't pass. Please reload the page and try again. You may want to try clearing your browser cache as a last attempt.
Searching support says I can just disable nonce, but wouldn’t that be a security risk?
add_filter( 'yikes-mailchimp-use-nonce-verification', '__return_false' );
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Excluding nonce from cache’ is closed to new replies.