wordpress-webmention
wordpress-webmention copied to clipboard
Anonymize IP Address
I cannot think of a reason why we need the originating IP address after any sort of SPAM check is done. We could safely anonymize this information after that time.
Perhaps we can remove it within the publish process...
I want to make sure there isn't a spam fighting reason for retaining it longer
https://github.com/WordPress/WordPress/blob/fdd5b8dacdf5f3e107747e9870c2f2db3f3481b1/wp-includes/functions.php#L6143
https://github.com/WordPress/WordPress/blob/fdd5b8dacdf5f3e107747e9870c2f2db3f3481b1/wp-includes/functions.php#L6212
Not sure if everyone would want to consider some sort of basic cron job to clear out IP addresses tied to webmention comments, but it's an option.