Prevent sending wpdGetNonce requests on every page load
-
Based on the code, the Ajax request should not be sent if the
wpdiscuz_nonce_{hash}cookie is already set. However, since the cookie is set asSecure, JavaScript cannot access it. As a result,Cookies.get('wpdiscuz_nonce_' + wpdiscuzCookiehash)always returnsundefined, causing the plugin to send the Ajax request on every page load.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.