From ed9d705b83317ffd478d851781925e32f3963284 Mon Sep 17 00:00:00 2001 From: nacin Date: Sat, 7 Jan 2012 18:54:08 +0000 Subject: [PATCH] Use home URL, not siteurl, in the password reset email. fixes #19767. git-svn-id: http://svn.automattic.com/wordpress/trunk@19705 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 a67d2c510e..607c678d0a 100644 --- a/wp-login.php +++ b/wp-login.php @@ -208,7 +208,7 @@ function retrieve_password() { $wpdb->update($wpdb->users, array('user_activation_key' => $key), array('user_login' => $user_login)); } $message = __('Someone requested that the password be reset for the following account:') . "\r\n\r\n"; - $message .= network_site_url() . "\r\n\r\n"; + $message .= network_home_url( '/' ) . "\r\n\r\n"; $message .= sprintf(__('Username: %s'), $user_login) . "\r\n\r\n"; $message .= __('If this was a mistake, just ignore this email and nothing will happen.') . "\r\n\r\n"; $message .= __('To reset your password, visit the following address:') . "\r\n\r\n";