#44181 closed enhancement (fixed)
The input field id username_or_email_to_export should be something else on remove_personal_data page
Reported by: | allendav | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 4.9.8 | Priority: | normal |
Severity: | normal | Version: | 4.9.6 |
Component: | Privacy | Keywords: | has-patch commit |
Focuses: | administration | Cc: |
Description
Minor.
On wp-admin/tools.php?page=remove_personal_data
And as handled in wp-admin/includes/user.php in _wp_personal_data_handle_actions
Note that presently, the logic (regardless of erase or export) is using $_POST username_or_email_to_export
It should either be renamed on the remove_personal_data page, or a more generic POST variable name chosen for both remove_personal_data and export_personal_data (e.g. username_or_email_for_privacy_request)
Attachments (1)
Change History (11)
#1
@
6 years ago
- Focuses administration added
- Keywords has-patch added; needs-patch removed
- Version changed from trunk to 4.9.6
This ticket was mentioned in Slack in #core by jon_bossenger. View the logs.
6 years ago
#3
@
6 years ago
- Keywords gdpr removed
Removing the GDPR keyword. This has been replaced by the new Privacy component and privacy focuses in Trac.
#4
@
6 years ago
This change makes sense to me. I tested and everything is working as it should. I wonder if any plugins or themes are using this $_POST
variable, though. While it's not wrong, it would be a much better approach to add action hooks where additional actions are needed. Not sure that is a blocker, but it's worth noting the very slim potential for a backwards compatibility issue.
This ticket was mentioned in Slack in #core by pbiron. View the logs.
6 years ago
This ticket was mentioned in Slack in #core by pbiron. View the logs.
6 years ago
#7
@
6 years ago
- Keywords commit added
This is fine to commit and backport, I don't think we need to be concerned about the potential back compat issue.
Changed all instances of "username_or_email_to_export" to "username_or_email_for_privacy_request" in /wp-admin/includes/user.php