Do you want it to not even record, or do you just not want the IP address displayed there?
If you don’t want any comment IP stored I think the following plugin will work. Save what follows as noip.php
and upload it to your plugins directory.
<?php
/*
Plugin Name: No-IP
Plugin URI: https://www.ads-software.com/support/topic/37363
Description: Causes WordPress to NOT save the IP address from ANY commenter. WordPress will instead record all comment IP addresses as '127.0.0.1'
Author: WP-Forums
Author URI: https://www.ads-software.com/support/
Version: 0.1
*/
function zap_ip($ip) {
return '127.0.0.1';
}
add_filter('pre_comment_user_ip', 'zap_ip');
?>
EDIT: I do not know if this will have any impact on other WP functionality. It might be better if you chose instead to not display the comment IPs in Manage->Comments. I can tell you how to do that too.