[wp-trac] [WordPress Trac] #43440: Add personal data from comments to personal data export

WordPress Trac noreply at wordpress.org
Wed Mar 28 00:04:18 UTC 2018


#43440: Add personal data from comments to personal data export
----------------------------------------+------------------
 Reporter:  azaozz                      |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  5.0
Component:  Administration              |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  gdpr has-patch 2nd-opinion  |     Focuses:
----------------------------------------+------------------

Comment (by allendav):

 @azaozz - in 43440.5 I took your patch and modified it to include the
 additional data listed in
 https://core.trac.wordpress.org/ticket/43440#comment:15

 With this change, it will be easier for the end user of the export to
 understand the overall comment context in which their personal data is
 stored.

 Also, since the original proposal (an array of name-value pairs) makes it
 impossible to represent personal data in context, I've nested the comment
 data as discussed and I added the concept of a item_id to allow us to
 collect all the personal data that core or plugins (e.g. WooCommerce
 product ratings) add to a given comment and I've added the concept of a
 group_id and group_label so we can present all the comments together in
 the export HTML report, one after the other - not unlike how Facebook
 groups things in their export.

 We can have additional groups for posts, attachments, usermeta, etc and
 plugins can add their own if needed.

 Unfortunately, this (presenting personal data in context) means that we
 can't really de-duplicate things like IP addresses or user agent that
 repeat across comments, so I had to remove that code from your patch.

 To test this patch, you'll need:

 This patch (43440.5)
 Patch 43438.6 (for exporter filters and wp-admin ajax)
 Patch 43443.4 (for sending the confirmation email to the user and getting
 the request in the list so you can kick off the export)
 And this plugin (until 43546 is ready): https://github.com/allendav/wp-
 privacy-requests (to see the list under wp-admin > Tools > Personal Data
 Export)

 And then, after installing all that:

 Make a few comments on your site if none exist
 Open the Javascript console for the browser tab if not already open
 Go to wp-admin > Tools > Personal Data Export
 Select "Personal Data Export" as the Type of Action to Request
 Enter the commenter's email address and hit "Send Request"
 It is not necessary to actually confirm the request if you don't want to
 You should see the request in the WP List Table
 Hover over the email and you should see a "Download" action. Click it.
 The download should successfully complete and the comment data should
 appear in the console.
 (ZIP file download is not yet available - but soon will be)

 Please let me know what you think.

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


More information about the wp-trac mailing list