WordPress.org

Make WordPress Core

Ticket #18295: 18295.patch

File 18295.patch, 491 bytes (added by johnbillion, 4 years ago)
  • wp-admin/user-new.php

     
    5959                wp_die(__('Cheatin’ uh?')); 
    6060 
    6161        // Adding an existing user to this blog 
    62         $new_user_email = esc_html(trim($_REQUEST['email'])); 
     62        $new_user_email = $user_details->user_email; 
    6363        $redirect = 'user-new.php'; 
    6464        $username = $user_details->user_login; 
    6565        $user_id = $user_details->ID;