[wp-trac] [WordPress Trac] #46560: Personal Data Export email unit tests found in erasure fulfillment
WordPress Trac
noreply at wordpress.org
Sun Aug 18 23:49:45 UTC 2024
#46560: Personal Data Export email unit tests found in erasure fulfillment
--------------------------------------+-----------------------------
Reporter: garrett-eclipse | Owner: berubenic
Type: enhancement | Status: assigned
Priority: low | Milestone: Future Release
Component: Privacy | Version: 4.9.6
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* keywords: good-first-bug has-patch has-unit-tests => has-patch has-unit-
tests
Comment:
Replying to [ticket:46560 garrett-eclipse]:
> While working on #44721 and #46056 I found there's some unit tests for
the erasure fulfillment email that aren't covered in the data export
email. Specifically, the test on post_type and post_status
Thanks for the ticket! A test for `post_type` of the request is now added
in [58912].
It appears that `wp_privacy_send_personal_data_export_email()` does not
perform any checks on the `post_status` of the request, so the latter part
could use some further investigation.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46560#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list