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
- 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]
- Detecting $_GET parameters from any page + Cookie
- Don’t send notification if author comments his own post plugin help?
- 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)
- 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
- add_filter comment_edit_redirect not working
- 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?
- 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
- Post Comments with Ajax in WordPress
- Notify comment author upon reply
- allow photo/video in comments
- 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
- Help with comments.php
- Some WordPress Posts are automatically becoming comments on other Posts
- 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
- 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
- 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
- Codeless random token generation to pass into multiple tracking links in a single page load
- Why the internal link get converted into a comment?
- Oops! That page can’t be found
- Identify User Language, Redirect to the corresponding page and Save the chosen language as Cookie
- Enable comments pagination only amp page
- Cookie value changes back to previous value after changing
- Display value of the GET parameter in a new URL page
- How to remove WordPress Default Comment? not Facebook
- WordPress Admin login redirect to homepage
- Comment restrictions Wodpress
- Disqus comment system not show
- How can I store user preferences in WordPress and retreive them later?
- How to fix slow comment query?
- Why does WordPress use cookies for /wp-admin and /wp-content/plugins for non-admin users [duplicate]
- Implementation to count page visits of unique visitors based on a cookie
- How to see in Edit Comments if comment is from User and her Roles
- admin-ajax.php not working properly on subdomains
- AddThis Plugin adding html comments in P tags
- How to show a message to a user?
- How can I save cookies to members
- Disqus comments count taking long to update
- Creating a comments voting system
- Jetpack Comments Change Placeholder Text
- page creator to leave comments ONLY
- set cookies for my whole site is not working
- How to fix vanilla comments extra iframe space
- 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 Allow Users to Select Recipients In a WordPress Comment section?
- Transfer wordpress comments form on another post [closed]
- 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]