WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/10/2018 10:02:41 AM (2 years ago)
Author:
azaozz
Message:

Privacy: cleanup of the "Export Personal Data" and "Erase Personal Data" screens.

Props desrosj, xkon.
Merges [43212] to the 4.9 branch.
See #43929.

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

  • branches/4.9/src/wp-includes/user.php

    r43200 r43213  
    28852885
    28862886    if ( $request && in_array( $request->action_name, _wp_privacy_action_request_types(), true ) ) {
    2887         $message = '<p class="message">' . __( 'Action has been confirmed.' ) . '</p>';
     2887        $message  = '<p class="message">' . __( 'Action has been confirmed.' ) . '</p>';
    28882888        $message .= __( 'The site administrator has been notified and will fulfill your request as soon as possible.' );
    28892889    }
     
    29182918
    29192919    $user    = get_user_by( 'email', $email_address );
    2920     $user_id = $user && ! is_wp_error( $user ) ? $user->ID: 0;
     2920    $user_id = $user && ! is_wp_error( $user ) ? $user->ID : 0;
    29212921
    29222922    // Check for duplicates.
Note: See TracChangeset for help on using the changeset viewer.