WordPress.org

Make WordPress Core

Opened 4 weeks ago

#44181 new enhancement

The input field id username_or_email_to_export should be something else on remove_personal_data page

Reported by: allendav Owned by:
Milestone: 4.9.8 Priority: normal
Severity: normal Version: trunk
Component: Privacy Keywords: gdpr needs-patch
Focuses: 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)

44181.diff (4.2 KB) - added by ianbelanger 4 weeks ago.
Changed all instances of "username_or_email_to_export" to "username_or_email_for_privacy_request" in /wp-admin/includes/user.php

Download all attachments as: .zip

Change History (1)

@ianbelanger
4 weeks ago

Changed all instances of "username_or_email_to_export" to "username_or_email_for_privacy_request" in /wp-admin/includes/user.php

Note: See TracTickets for help on using tickets.