Fix inviting existing users to a site with email confirmation. Props johnbillion. fixes #18295

git-svn-id: https://develop.svn.wordpress.org/trunk@18965 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2011-10-13 18:32:31 +00:00
parent b158ddc175
commit 4685bc4b99
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ if ( isset($_REQUEST['action']) && 'adduser' == $_REQUEST['action'] ) {
wp_die(__('Cheatin’ uh?'));
// Adding an existing user to this blog
$new_user_email = esc_html(trim($_REQUEST['email']));
$new_user_email = $user_details->user_email;
$redirect = 'user-new.php';
$username = $user_details->user_login;
$user_id = $user_details->ID;