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

WordPress Trac noreply at wordpress.org
Thu Apr 5 20:07:12 UTC 2018


#43545: Helper functions: Anonymizing data in a standardized way
--------------------------------+--------------------
 Reporter:  dejliglama          |       Owner:
     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 allendav):

 @azaozz - I added IPV4 and IPV6 anonymization and unit tests for the lot.
 I also modified the domains to example.com and the time stamp to a more
 appropriate default

 To run the unit tests, run

 phpunit tests/phpunit/tests/functions/anonymization.php

 Please let me know if adding a unit test file will be a no-no for a minor
 release and i can add these somewhere else

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


More information about the wp-trac mailing list