trim login
git-svn-id: https://develop.svn.wordpress.org/trunk@4062 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b15ddd4e0d
commit
35a2023e42
@ -92,7 +92,7 @@ if ($error)
|
||||
break;
|
||||
|
||||
case 'retrievepassword':
|
||||
$user_data = get_userdatabylogin($_POST['user_login']);
|
||||
$user_data = get_userdatabylogin(trim($_POST['user_login']));
|
||||
// redefining user_login ensures we return the right case in the email
|
||||
$user_login = $user_data->user_login;
|
||||
$user_email = $user_data->user_email;
|
||||
|
Loading…
Reference in New Issue
Block a user