Going through the comments table on my wordpress site, I noticed that wordpress is storing the ip address of everyone who makes a comment on my site. How do I remove this functionality?
I’m not just talking about the display of the ip in the template, I mean I don’t want wordpress to capture it in the first place.
Add this to your functions.php:
You’ll still have the comment_author_IP field in the db, but it will be empty…
And to remove existing IP records from the db run this query: