Typo fix from Patrick Marie.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-05-30 08:24:24 +00:00
parent bd9c5a9bb4
commit 45745f1bd0
1 changed files with 2 additions and 3 deletions

View File

@ -198,10 +198,9 @@ break;
case 'retrievepassword': case 'retrievepassword':
$user_login = $_POST["user_login"]; $user_data = get_userdatabylogin($_POST["user_login"]);
$user_data = get_userdatabylogin($user_login);
// redefining user_login ensures we return the right case in the email // redefining user_login ensures we return the right case in the email
$user_login = $user_data['user_login']; $user_login = $user_data->user_login;
$user_email = $user_data->user_email; $user_email = $user_data->user_email;
if (!$user_email || $user_email != $_POST['email']) die(sprintf(__('Sorry, that user does not seem to exist in our database. Perhaps you have the wrong username or email address? <a href="%s">Try again</a>.'), 'wp-login.php?action=lostpassword')); if (!$user_email || $user_email != $_POST['email']) die(sprintf(__('Sorry, that user does not seem to exist in our database. Perhaps you have the wrong username or email address? <a href="%s">Try again</a>.'), 'wp-login.php?action=lostpassword'));