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:
parent
53062d6414
commit
a733b40730
|
@ -59,7 +59,7 @@ if ( isset($_REQUEST['action']) && 'adduser' == $_REQUEST['action'] ) {
|
||||||
wp_die(__('Cheatin’ uh?'));
|
wp_die(__('Cheatin’ uh?'));
|
||||||
|
|
||||||
// Adding an existing user to this blog
|
// 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';
|
$redirect = 'user-new.php';
|
||||||
$username = $user_details->user_login;
|
$username = $user_details->user_login;
|
||||||
$user_id = $user_details->ID;
|
$user_id = $user_details->ID;
|
||||||
|
|
Loading…
Reference in New Issue