Init message before concat.

git-svn-id: http://svn.automattic.com/wordpress/branches/1.5@2661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2005-06-26 16:27:37 +00:00
parent 3ce18b9a3c
commit 26ed4e2a86
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ do_action('retrieve_password', $user_login);
$key = substr( md5( uniqid( microtime() ) ), 0, 50);
// now insert the new pass md5'd into the db
$wpdb->query("UPDATE $wpdb->users SET user_activation_key = '$key' WHERE user_login = '$user_login'");
$message .= __('Someone has asked to reset the password for the following site and username.') . "\r\n\r\n";
$message = __('Someone has asked to reset the password for the following site and username.') . "\r\n\r\n";
$message .= get_option('siteurl') . "\r\n\r\n";
$message .= sprintf(__('Username: %s'), $user_login) . "\r\n\r\n";
$message .= __('To reset your password visit the following address, otherwise just ignore this email and nothing will happen.') . "\r\n\r\n";