[wp-trac] [WordPress Trac] #44255: Commenter IP address remains after erasing personal data
WordPress Trac
noreply at wordpress.org
Tue May 29 13:07:54 UTC 2018
#44255: Commenter IP address remains after erasing personal data
-------------------------------+------------------------------
Reporter: webtrainingwheels | Owner: (none)
Type: enhancement | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Privacy | Version: 4.9.6
Severity: normal | Resolution: invalid
Keywords: gdpr | Focuses:
-------------------------------+------------------------------
Changes (by subrataemfluence):
* keywords: => gdpr
* status: new => closed
* resolution: => invalid
Comment:
Good point. However, rather than remove the IP address completely the
objective is to partially anonymize the IP reducing it to the
corresponding network ID.
{{{
Source: /wp-includes/functions.php
Line number: 6182
// Partially anonymize the IP by reducing it to the corresponding network
ID.
if ( function_exists( 'inet_pton' ) && function_exists( 'inet_ntop' ) ) {
...
}
}}}
For example, if the actual IP address was `127.0.0.1` the new anonymized
IP address would be `127.0.0.0`.
As @rafsuntaskin mentions, it just keeps the network ID which will never
let you know the real IP address from where the comment was originally
made.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44255#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list