Ticket #10741: inc-ip-and-whois-lostpassword.patch
| File inc-ip-and-whois-lostpassword.patch, 856 bytes (added by mr.slay, 4 years ago) |
|---|
-
wp-login.php
159 159 } 160 160 $message = __('Someone has asked to reset the password for the following site and username.') . "\r\n\r\n"; 161 161 $message .= get_option('siteurl') . "\r\n\r\n"; 162 $message .= sprintf(__('Username: %s'), $user_login) . "\r\n\r\n"; 162 $message .= sprintf(__('Username: %s'), $user_login) . "\r\n"; 163 $message .= sprintf(__('User\'s IP: %s (WHOIS: http://whois.domaintools.com/%1$s)'), $_SERVER['REMOTE_ADDR']) . "\r\n\r\n"; 163 164 $message .= __('To reset your password visit the following address, otherwise just ignore this email and nothing will happen.') . "\r\n\r\n"; 164 165 $message .= site_url("wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login), 'login') . "\r\n"; 165 166
