Don’t remember commenters in cookies
WordPress stops saving the commenter’s name, email and website in cookies, and the “Save my name…” checkbox goes away. One less cookie to explain.
<?php
remove_action( 'set_comment_cookies', 'wp_set_comment_cookies' );
add_filter(
'comment_form_default_fields',
static function ( $fields ) {
unset( $fields['cookies'] );
return $fields;
}
);
In these packs
- Comments: Fewer spam comments and more control: close old posts, set minimum and maximum lengths, a spam trap, no links.