trim login
git-svn-id: http://svn.automattic.com/wordpress/trunk@4062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b6aaa70b7c
commit
112f50f0e4
|
@ -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