[wp-trac] [WordPress Trac] #43545: Helper functions: Anonymizing data in a standardized way
WordPress Trac
noreply at wordpress.org
Fri Apr 6 07:53:27 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):
Replying to [comment:22 allendav]:
43545.diff looks good. There is one place where it may fail to anonymize
an IPv6 address, if `! function_exists( 'inet_pton' )`. I'll fix that.
Was also thinking we can reuse the "extracted" function in
WP_Community_Events:
https://core.trac.wordpress.org/browser/tags/4.9.4/src/wp-admin/includes
/class-wp-community-events.php#L210
> ...modified the domains to example.com and the time stamp to a more
appropriate default
Not sure if that's better. Thinking that it should be changed to something
that can never be used. The example.com is an actual website, it belongs
to "somebody". However the .test domain will never ever exist.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43545#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list