Make WordPress Core

Ticket #14140: t14140-url-angle-brackets.diff

File t14140-url-angle-brackets.diff, 769 bytes (added by demetris, 14 years ago)

Encloses URL for password reset in angle brackets

  • wp-login.php

     
    190190        $message .= network_site_url() . "\r\n\r\n";
    191191        $message .= sprintf(__('Username: %s'), $user_login) . "\r\n\r\n";
    192192        $message .= __('To reset your password visit the following address, otherwise just ignore this email and nothing will happen.') . "\r\n\r\n";
    193         $message .= network_site_url("wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login), 'login') . "\r\n";
     193        $message .= '<' . network_site_url("wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login), 'login') . '>' . "\r\n";
    194194
    195195        if ( is_multisite() )
    196196                $blogname = $GLOBALS['current_site']->site_name;