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

git-svn-id: http://svn.automattic.com/wordpress/trunk@18965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2011-10-13 18:32:31 +00:00
parent 53062d6414
commit a733b40730
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;