WordPress anonymize IP in comments
Add as last line in theme’s functions.php
:
function wpb_remove_commentsip($comment_author_ip) {
return '127.0.0.1';
}
add_filter('pre_comment_user_ip','wpb_remove_commentsip');
WordPress remove version info
Add as last line in theme’s functions.php
:
function remove_version_info() {
return '';
}
add_filter('the_generator', 'remove_version_info');