From e01bad86bcefcbc30e746e7cfefc179608ca4609 Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 24 Jun 2005 01:22:55 +0000 Subject: [PATCH] Initialize message before concat. git-svn-id: http://svn.automattic.com/wordpress/trunk@2658 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-login.php b/wp-login.php index 1322f34581..31b2b6e672 100644 --- a/wp-login.php +++ b/wp-login.php @@ -98,7 +98,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";