WordPress 4.9.6 cookies-consent remove

Remove the cookie-consent

With update 4.9.6 of WordPress commenting will require to set the name email and so on. In general I’m not interested in knowing these date I removed the mandatory fields to collect these data.

Update of functions.php

Because I don’t analyze data on access or who might be interested in my site I remove as much as possible the data which is usually collected by WordPress with the following code snippet

/* Disable E-Mail-, URL- and Cookie-Consent-Field in Comments */
function remove_comment_fields( $fields ) {	
	unset( $fields['email'] );
	unset( $fields['url'] );	
	unset( $fields['cookies'] );		
  	return $fields;
}
add_filter( 'comment_form_default_fields', 'remove_comment_fields' );

Link to privacy policy notice