That is actually dead simple. Cookies are set by wp_set_comment_cookies()
and this function is hooked into 'set_comment_cookies'
. Just remove the function from the action:
<?php # -*- coding: utf-8 -*-
/* Plugin Name: No Comment Cookies
*/
remove_action( 'set_comment_cookies', 'wp_set_comment_cookies' );
Related Posts:
- How to export comments in WordPress?
- What are the package and subpackage comment for?
- Experiences with adding Nonces to the comment form
- Is there a plugin for posting inline comments, like in MS Word? [closed]
- Keep one user logged for a year?
- Facebook comments box on front page
- Disabling Comment Notifications for Post Author
- Are there any drawbacks to install IntenseDebate on my blog?
- Installing Facebook comment plug in without loosing all previous wordpress comments?
- Notify commenters about new replies
- Security error WP 4.0 + WP phpBB Bridge [closed]
- Custom comment type maybe?
- Use comments as notes, visible for comment author only
- Detecting $_GET parameters from any page + Cookie
- Don’t send notification if author comments his own post plugin help?
- How does WooCommerce display a custom comment_type in Comment Admin?
- How to prevent spam comments?
- Intercept comment form submit/list by hook/filter
- adding a text message beside the comment submit button
- How to add a privacy-checkbox in comment-template?
- Plugin: How should I handle deleting comments?
- Akismet plugin is deleting spam despite preferences
- Plugin Functionality Only for Editor and Administrator
- Set cookie then immediantly refresh the page
- Popup Cookie WordPress select language and section (Elementor)
- Override comments.php template with plugin
- Leveraging WordPress Comments on Custom Plugin Object page
- Get total number of comment of the posts written by an author
- Display comments of users on single page
- Function to prevent users from trashing comments
- add_filter comment_edit_redirect not working
- How do you override the default comment template?
- Do We Need to Validate, Sanitize, or Filter Simple Numerical Superglobals (Cookies and Post)?
- How to change commenter links to /user/user_id?
- Facebook plugin shows existing comments
- unregistered user can write in blog page – possible? how to?
- How can I get WordPress to save comments in markdown format?
- Why is my staging subdomain not sending wordpress_logged_in cookies?
- How to delete Passwrd Protected posts cookies when a user logged out from the site
- Creating a plugin to sanitize comment and the url field before display only
- How to save generated JWT token to cookies on login?
- WordPress comments not appearing in blog posts, likely because of Redux template. Could I fix this with a plugin that adds a comment form as a block? [closed]
- WordPress Keeps Logging Out – What Tests Can I Run to Solve This?
- User Session and Stored Cookies not get removed
- Where does the cookie mo_page_views_counter come from?
- Send reply with pre-prepared answers
- posts comments goes to trash
- Comment section not showing correctly
- Disqus deleted comments are syncing with wordpress but active comments do not
- Include comments form in plugin page
- WordPress 4.2.1 pre_get_comments doesn’t work after update
- How to handle cookies from a WordPress plugin on a cached page?
- Login cookies set as wrong domain
- Integrate Facebook comments with native comments
- Post Comments with Ajax in WordPress
- Notify comment author upon reply
- allow photo/video in comments
- add_action in a custom plugin
- Custom setup of wordpress comments that are displayed
- Is there a specific term for Plugins that are specified in a WordPress Post using Comments?
- Add back to post link on blank comment post error page
- Flag Comment as inappropriate button plugin
- Help with comments.php
- Some WordPress Posts are automatically becoming comments on other Posts
- Comment IP Plugin – Fixing onfocus=’this.select()’
- get_comments_number() giving wrong results! What are alternatives?
- Displaying content based on drop-down menu selection sitewide
- Moving FB comments at the end of page
- Blurry images when loading the page first time
- Comment Approve – Add custom function when comment is approved
- Individual Comment Notification Setting For Post Author
- How to save comment name email url fields?
- Add a Custom Field in Comment Box next to the Text area
- Error: Can´t access facebook comment plugin admin page
- Separate jQuery for Individual Comments?
- Pull comments from one page/post into another page/post?
- Engadget Like most commented plugins
- Does anyone know what’s the plugin for this Comment Section?
- Display WordPress comments before the plugins?
- Cookies set by a plugin in wordpress for tracking
- page creator to leave comments ONLY
- set cookies for my whole site is not working
- Why links are not linked if edited comment?
- How to fix vanilla comments extra iframe space
- WordPress Plugin: Where should I put my cookies for cURL?
- Getting Post Permalink Outside of Loop Not Working
- Reply form used in wordpress.com
- which is this plugin ? [closed]
- Undefined constant error in pluggable.php
- How to resolve these findings from security audit
- ERROR: Cookies are blocked due to unexpected output – no access to FTP
- Questions about using Disqus or Jetpack for comments [closed]
- How to delete Password Protected posts cookies when a user logged out from the site
- How to Allow Users to Select Recipients In a WordPress Comment section?
- Transfer wordpress comments form on another post [closed]
- Stop the user if login from the cookies
- Change comments ordering by custom value
- Why nested REPLY not working in WP Comments?
- WP Plugin: How to avoid db access for each comment?
- What forum plugin can I use to allow non-registered users to create posts and comment? [closed]