mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-17 08:05:21 +01:00
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
This commit is contained in:
parent
d50e2a9633
commit
ed9d705b83
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user