[wp-trac] [WordPress Trac] #43809: Add personal data from posts to personal data export
WordPress Trac
noreply at wordpress.org
Fri Apr 27 09:33:05 UTC 2018
#43809: Add personal data from posts to personal data export
-------------------------------------------------+-------------------------
Reporter: TZ Media | Owner: tz-media
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.9.6
Component: General | Version:
Severity: normal | Resolution:
Keywords: gdpr has-patch 2nd-opinion needs- | Focuses:
unit-tests |
-------------------------------------------------+-------------------------
Changes (by TZ Media):
* keywords: gdpr has-patch 2nd-opinion reporter-feedback needs-unit-tests
=> gdpr has-patch 2nd-opinion needs-unit-tests
Comment:
Thanks @desrosj for the great work here!
Regarding the questions (as long as they are not already handled in the
latest patch):
* `auto_save`: Yes, they might be considered personal data.
* CPTs: When a plugin or theme adds custom post types, I would reason that
this theme or plugin is responsible for adding them to the export. Because
core can hardly guess what the export for that CPT should contain, and
what now. Maybe a CPT is a simple form that does not contain any personal
data, maybe it's a show order that is very complicated to export, because
one would have to aggregate a lot of data. So I would not include post
types that are not defined in core into the export.
* What other core post types should we include in the export by default?
* I just used `get_posts()` for simplicity. There was no specific reason
to do so.
* post_meta: I believed that WP_Post includes all personal information
from post_meta that is defined in core. Again, when a plugin or theme adds
additional post_meta keys, I expect the plugin or theme to export them in
the format they believe is best to export the values.
* Is there any post_meta added in core that we should add to the export?
* As I understand it, the actual export loop allows for plugins to add
values to the post already exported by the core posts exporter. Because
this allows plugins to add their stuff (or core stuff not exported, like
post body etc.) to the export.
* page size `500`: I just copied that from the comments exporter. But as
long as no complex post_meta is added here, the number should work.
* Code style: Sorry for that. My IDE is set up to PSR-1/2 styles and our
company code style by default. Will change that for core contributing.
Thanks again @desrosj for the great work.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43809#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list