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

WordPress Trac noreply at wordpress.org
Thu Mar 22 22:29:02 UTC 2018


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

Comment (by azaozz):

 This sounds good but imho there are far too many options to anonymize
 things. It would be handy for translatable strings but not for numbers,
 tokens, etc. For example: what would be an anonymized `id` or `email` or
 `url`? All these should be empty strings.

 I'd also argue that an anonymized IP address is `0.0.0.0` (if not an empty
 string). Don't see any value to try and keep partial user data for general
 purposes. If a plugin requires to retain specific data, it can choose to
 anonymize it in a specific way.

 I like the translatable `text` and `longtext`, but they seem too long?
 Something like `Deleted` and `Deleted by the author.` would be enough
 imho.

 Also, two different filters, one of which is dynamic (a.k.a very hard to
 read/use) for few strings seem excessive :)

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


More information about the wp-trac mailing list