Ticket #8250: wp-login.php.diff
File wp-login.php.diff, 861 bytes (added by , 16 years ago) |
---|
-
wp-login.php
145 145 $message .= get_option('siteurl') . "\r\n\r\n"; 146 146 $message .= sprintf(__('Username: %s'), $user_login) . "\r\n\r\n"; 147 147 $message .= __('To reset your password visit the following address, otherwise just ignore this email and nothing will happen.') . "\r\n\r\n"; 148 $message .= site_url( "wp-login.php?action=rp&key=$key", 'login') . "\r\n";148 $message .= site_url('wp-login.php?action=rp&key='.urlencode($key), 'login') . "\r\n"; 149 149 150 150 if ( !wp_mail($user_email, sprintf(__('[%s] Password Reset'), get_option('blogname')), $message) ) 151 151 die('<p>' . __('The e-mail could not be sent.') . "<br />\n" . __('Possible reason: your host may have disabled the mail() function...') . '</p>');