Issue with nonce, yes or no ?
-
Hi,
I still have got an issue with a plugin called “WP Clever Smart Wishlist” and my configuration.
I’m deferring all js except jquery, and I’m delaying js of “smart whislist”.Nonce used by “smart whislist” is added in LS settings (woosw_vars.nonce added in ESI nonces).
As soon as delayed js (so smart whislist js file) is executed, when a user interacts with website, browser console gives me a 403 error for admin-ajax.php:
jquery.min.js:2 POST https://lesbijouxdelhermine.fr/wp-admin/admin-ajax.php 403 send @ jquery.min.js:2 ajax @ jquery.min.js:2 (anonymous) @ 967f8329f7bcbcf2404ac8297fa63262.js?ver=63262:2 e.<computed> @ 967f8329f7bcbcf2404ac8297fa63262.js?ver=63262:2 ce.<computed> @ jquery.min.js:2 woosw_get_data @ 3e7ce1b4365e6f6d9de4bb136a14dd11.js?ver=4dd11:64 woosw_load_data @ 3e7ce1b4365e6f6d9de4bb136a14dd11.js?ver=4dd11:63 (anonymous) @ 3e7ce1b4365e6f6d9de4bb136a14dd11.js?ver=4dd11:3 e @ jquery.min.js:2 t @ jquery.min.js:2 setTimeout (async) (anonymous) @ jquery.min.js:2 c @ jquery.min.js:2 add @ jquery.min.js:2 (anonymous) @ jquery.min.js:2 (anonymous) @ 967f8329f7bcbcf2404ac8297fa63262.js?ver=63262:2 e.<computed> @ 967f8329f7bcbcf2404ac8297fa63262.js?ver=63262:2 then @ jquery.min.js:2 ce.fn.ready @ jquery.min.js:2 ce.fn.init @ jquery.min.js:2 (anonymous) @ 967f8329f7bcbcf2404ac8297fa63262.js?ver=63262:2 e.<computed> @ 967f8329f7bcbcf2404ac8297fa63262.js?ver=63262:2 ce @ jquery.min.js:2 (anonymous) @ 3e7ce1b4365e6f6d9de4bb136a14dd11.js?ver=4dd11:2 (anonymous) @ 3e7ce1b4365e6f6d9de4bb136a14dd11.js?ver=4dd11:72
For informations:
967f8329f7bcbcf2404ac8297fa63262.js is jquery Migrate and is not delayed. It’s loaded long before the smart whishlist js.
3e7ce1b4365e6f6d9de4bb136a14dd11.js is the frontend.js of “Smart Whishlist”I’m a little surprised because I thought WP had stopped using this jquery migrate since its 5.5 release. I use latest WP, and however jquery migrate is present in /wp-includes/js/jquery/
So, my question: is it an issue with nonce, or with js files that should not be delayed ?
Js cache has been purged + ALL cache has been purged + “big red” button (ALL ALL ALL purge): always this error.Report: OSPDYTTV
08/27/2023 18:36:52Thanks a lot for any help !
Best regardsThe page I need help with: [log in to see the link]
- The topic ‘Issue with nonce, yes or no ?’ is closed to new replies.