git-svn-id: http://svn.automattic.com/wordpress/trunk@2465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2005-03-22 01:09:39 +00:00
parent 6ecc63bbc7
commit cfc06de303
1 changed files with 2 additions and 1 deletions

View File

@ -95,7 +95,8 @@ case 'retrievepassword':
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 e-mail address? <a href="%s">Try again</a>.'), 'wp-login.php?action=lostpassword'));
do_action('retreive_password', $user_login);
do_action('retreive_password', $user_login); // Misspelled and deprecated.
do_action('retrieve_password', $user_login);
// Generate something random for a password... md5'ing current time with a rand salt
$key = substr( md5( uniqid( microtime() ) ), 0, 50);