WordPress.org

Make WordPress Core

Changeset 16285


Ignore:
Timestamp:
11/10/10 23:38:15 (7 years ago)
Author:
westi
Message:

Wrap the reset link in <> so as to protect it when it goes over multiple lines in an email client. Fixes #14140 props demetris.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-login.php

    r16284 r16285  
    217217    $message .= __('If this was a mistake, just ignore this email and nothing will happen.') . "\r\n\r\n"; 
    218218    $message .= __('To reset your password, visit the following address:') . "\r\n\r\n"; 
    219     $message .= network_site_url("wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login), 'login') . "\r\n"; 
     219    $message .= '<' . network_site_url("wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login), 'login') . ">\r\n"; 
    220220 
    221221    if ( is_multisite() ) 
Note: See TracChangeset for help on using the changeset viewer.