[wp-trac] [WordPress Trac] #43921: Include community-events-location user meta value in Personal Data Export
WordPress Trac
noreply at wordpress.org
Wed May 2 02:58:19 UTC 2018
#43921: Include community-events-location user meta value in Personal Data Export
----------------------------------------+------------------------------
Reporter: coreymckrill | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: gdpr has-patch 2nd-opinion | Focuses:
----------------------------------------+------------------------------
Changes (by coreymckrill):
* keywords: needs-patch gdpr => gdpr has-patch 2nd-opinion
Comment:
In [attachment:43921.diff]:
* Add a case in the exporter function to grab the value of the `community-
events-location` key for the given user and convert the array into a
human-readable string.
* Update the unit test for the data exporter function. It was already
failing with an incorrect number of exported user properties. This adds
the location data so that every possible piece of exportable data is
included for the test.
Given that the comment exporter includes the Commenter IP value, I decided
to go ahead and include it here along with the other possible location
values, even though it's already partially anonymized.
The function that converts the exported user data into HTML doesn't handle
values that are arrays, which is why this converts it to a string.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43921#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list