Plugin Author
Zorem
(@zorem)
Hi,
Our plugin does not generate a nonce, we just do an ajax process instead of page loading.
we use the native WooCommerce my account form.
which caching plugin are you using? we are using the fastest cache pro and we do not have caching issues.
Let me know what do you think?
Hello,
Thank you for your reply! 🙂
on ‘woocommerce-ajax-login-register.php’, on line 199, you have this:
// First check the nonce, if it fails the function will break
check_ajax_referer( 'woocommerce-login', 'woocommerce-login-nonce' );
This is the nonce check, that doesn’t work with WP rocket caching plugin.
It gets the nonce from an input field in the woocommerce login form, with id ‘woocommerce-login-nonce’.
And why would it work? If it doesn’t get the nonce dynamically via AJAX or something like that, it’ll be “burned” to all cached HTML files.
Thank you,
Amichai
-
This reply was modified 2 years, 3 months ago by
amihaidany.
-
This reply was modified 2 years, 3 months ago by
amihaidany.
-
This reply was modified 2 years, 3 months ago by
amihaidany.
-
This reply was modified 2 years, 3 months ago by
amihaidany.