mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-09 23:24:34 +00:00
Privacy: Fix the URLs and legacy redirects for the personal data export and erasure screens.
Props Jurgen Oldenburg, garrett-eclipse Fixes #49476 git-svn-id: https://develop.svn.wordpress.org/trunk@47412 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -3188,7 +3188,11 @@ function _wp_privacy_send_request_confirmation_notification( $request_id ) {
|
||||
return;
|
||||
}
|
||||
|
||||
$manage_url = add_query_arg( 'page', $request->action_name, admin_url( 'tools.php' ) );
|
||||
if ( 'export_personal_data' === $request->action_name ) {
|
||||
$manage_url = admin_url( 'export-personal-data.php' );
|
||||
} elseif ( 'remove_personal_data' === $request->action_name ) {
|
||||
$manage_url = admin_url( 'erase-personal-data.php' );
|
||||
}
|
||||
$action_description = wp_user_request_action_description( $request->action_name );
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user