[wp-trac] [WordPress Trac] #44133: Should the Data Export indicate when we have no information on the user
WordPress Trac
noreply at wordpress.org
Fri Jun 22 14:46:35 UTC 2018
#44133: Should the Data Export indicate when we have no information on the user
-------------------------------------------------+-------------------------
Reporter: garrett-eclipse | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 4.9.7
Component: Privacy | Version: 4.9.6
Severity: normal | Resolution:
Keywords: has-screenshots has-patch needs- | Focuses:
testing | administration
-------------------------------------------------+-------------------------
Changes (by desrosj):
* keywords: has-screenshots has-patch needs-refresh => has-screenshots
has-patch needs-testing
Comment:
[attachment:44133.5.diff] is a refresh with the following changes:
- Only run the `wp_privacy_personal_data_email_content` filter on the
email content sent with a successful export file link.
- Introduce the `wp_privacy_personal_data_email_content_no_data` filter
for filtering the email text sent when no data is found.
- Only fire the `wp_privacy_personal_data_export_file` action when data is
found for exporting.
- Add the `$request` variable as a parameter for the
`wp_privacy_personal_data_export_file` action.
- Introduce the `wp_privacy_personal_data_export_no_data` action that
fires when no data is found for the request. This will allow plugins to
perform custom code when a request data has been gathered and determined
to be empty.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44133#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list