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

WordPress Trac noreply at wordpress.org
Thu Mar 29 15:58:20 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 azaozz):

 In 43545.2.diff: make the changes discussed in
 https://core.trac.wordpress.org/ticket/43545#comment:11 and
 https://core.trac.wordpress.org/ticket/43545#comment:13. I've also removed
 the `$data_to_anonymize` param since it became unused.

 If we want to be able to anonymize IP addresses by truncating them, we can
 extract the function from the community dashboard widget
 https://core.trac.wordpress.org/browser/tags/4.9.4/src/wp-admin/includes
 /class-wp-community-events.php#L210 as reuse it. However seems that this
 will not comply with the privacy laws in some countries.

 Also, seems that the comment text is considered "personal data", so we
 will have to delete the whole comments instead of "anonymizing" them. Then
 there will be no need for truncated IPs for comments.

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


More information about the wp-trac mailing list