The cookie "wpdiscuz_nonce" appears in all of our pages. I have dequeued your plugin on all pages except posts, but it still appears. See below screenshot.
Please provide a fix and/or instructions to load noted cookie only on post-type pages or to remove it completely.
Also, please advise where can I find a description of the above cookie. Your documentation provides nothing.
This logic will not be changed, as for the correct functioning of the wpDiscuz plugin it’s necessary to load wpdiscuz_nonce on all pages.
In case you want to say thank you! 🙂 We'd really appreciate if you leave a good review on the plugin page. This is the best way to say thank you to this project and the support team.
Thanks for bringing this up! The wpdiscuz_nonce cookie is a security token used by wpDiscuz to verify requests and prevent CSRF (Cross-Site Request Forgery) attacks on comment-related actions. It's generated to ensure that comment submissions and interactions are legitimate.
Regarding your issue with the cookie appearing on all pages despite dequeuing the plugin: the nonce generation might be happening at a higher priority hook level (like wp_head or init) before your dequeue takes effect. Here are an approache you can try:
Use a filter to disable nonce generation Add this to your theme's functions.php or a custom plugin: