urlencode login
git-svn-id: http://svn.automattic.com/wordpress/trunk@11802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
55a2d968ce
commit
85c806b96b
|
@ -161,7 +161,7 @@ function retrieve_password() {
|
|||
$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";
|
||||
$message .= site_url("wp-login.php?action=rp&key=$key&login=$user_login", 'login') . "\r\n";
|
||||
$message .= site_url("wp-login.php?action=rp&key=$key&login=" . urlencode($user_login), 'login') . "\r\n";
|
||||
|
||||
$title = sprintf(__('[%s] Password Reset'), get_option('blogname'));
|
||||
|
||||
|
|
Loading…
Reference in New Issue