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:
parent
b158ddc175
commit
4685bc4b99
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user