WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/03/2020 12:48:21 AM (17 months ago)
Author:
johnbillion
Message:

Privacy: Fix the URLs and legacy redirects for the personal data export and erasure screens.

Props Jurgen Oldenburg, garrett-eclipse

Fixes #49476

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/user.php

    r47369 r47412  
    31893189    }
    31903190
    3191     $manage_url         = add_query_arg( 'page', $request->action_name, admin_url( 'tools.php' ) );
     3191    if ( 'export_personal_data' === $request->action_name ) {
     3192        $manage_url = admin_url( 'export-personal-data.php' );
     3193    } elseif ( 'remove_personal_data' === $request->action_name ) {
     3194        $manage_url = admin_url( 'erase-personal-data.php' );
     3195    }
    31923196    $action_description = wp_user_request_action_description( $request->action_name );
    31933197
Note: See TracChangeset for help on using the changeset viewer.