[wp-trac] [WordPress Trac] #43809: Add personal data from posts to personal data export
WordPress Trac
noreply at wordpress.org
Fri Apr 27 03:52:06 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 | Focuses:
reporter-feedback needs-unit-tests |
-------------------------------------------------+-------------------------
Comment (by desrosj):
[attachment:43809.2.diff] adds unit tests and fixes the following bugs
discovered while writing tests:
- When a user is not found for the email passed, the function needs to
return early to prevent a PHP warning.
- The `max_num_pages` check needs to use a `<=` sign, not a `<`. When the
exporter is on the last page, they will be `=`, and when there are no
results it will be `<`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43809#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list