mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Improve password reset email copy. See #5919
git-svn-id: http://svn.automattic.com/wordpress/trunk@15776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9b325e28ea
commit
ce6b055cf8
@ -211,10 +211,11 @@ function retrieve_password() {
|
||||
// Now insert the new md5 key into the db
|
||||
$wpdb->update($wpdb->users, array('user_activation_key' => $key), array('user_login' => $user_login));
|
||||
}
|
||||
$message = __('Someone has asked to reset the password for the following site and username.') . "\r\n\r\n";
|
||||
$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 .= 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";
|
||||
$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";
|
||||
$message .= network_site_url("wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login), 'login') . "\r\n";
|
||||
|
||||
if ( is_multisite() )
|
||||
|
Loading…
Reference in New Issue
Block a user