Wrap the reset link in <> so as to protect it when it goes over multiple lines in an email client. Fixes #14140 props demetris.
git-svn-id: https://develop.svn.wordpress.org/trunk@16285 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ea7bd69745
commit
7a3000079a
@ -216,7 +216,7 @@ function retrieve_password() {
|
||||
$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";
|
||||
$message .= network_site_url("wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login), 'login') . "\r\n";
|
||||
$message .= '<' . network_site_url("wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login), 'login') . ">\r\n";
|
||||
|
||||
if ( is_multisite() )
|
||||
$blogname = $GLOBALS['current_site']->site_name;
|
||||
|
Loading…
x
Reference in New Issue
Block a user