[wp-trac] [WordPress Trac] #43545: Helper functions: Anonymizing data in a standardized way

WordPress Trac noreply at wordpress.org
Thu Apr 12 08:09:34 UTC 2018


#43545: Helper functions: Anonymizing data in a standardized way
--------------------------------+---------------------
 Reporter:  dejliglama          |       Owner:  (none)
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  5.0
Component:  Options, Meta APIs  |     Version:  trunk
 Severity:  normal              |  Resolution:
 Keywords:  needs-patch gdpr    |     Focuses:
--------------------------------+---------------------

Comment (by azaozz):

 @iandunn thanks for the review and the fixes! 43545.5.diff looks good.
 Going to commit it later today if no other remarks.

 > ...the Events Widget doesn't strictly need $ipv6_fallback mode, if using
 the un-anonymized IP is going to cause GDPR issues.

 Was thinking about that too. For privacy we have to guarantee we return an
 anonymized IP, no matter what. Since we depend on the PHP
 version/environment to be able to do anonymization of IPv6 addresses, it's
 probably a good idea to be able to fall back gracefully. However removing
 that will make `wp_privacy_anonymize_ip()` simpler to use... Kind of 50/50
 there :)

 > If this gets bumped from `5.0` to `4.9.x`...

 No problems with new files in /tests. They are only problematic in /build
 for minor releases.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43545#comment:33>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list