WordPress.org

Make WordPress Core

Ticket #19083: #19083.patch

File #19083.patch, 857 bytes (added by arena, 3 years ago)
  • wp-login.php

     
    218218        $message .= __('To reset your password, visit the following address:') . "\r\n\r\n"; 
    219219        $message .= '<' . network_site_url("wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login), 'login') . ">\r\n"; 
    220220 
    221         if ( is_multisite() ) 
    222                 $blogname = $GLOBALS['current_site']->site_name; 
    223         else 
    224                 // The blogname option is escaped with esc_html on the way into the database in sanitize_option 
    225                 // we want to reverse this for the plain text arena of emails. 
    226                 $blogname = wp_specialchars_decode(get_option('blogname'), ENT_QUOTES); 
     221        $blogname = wp_specialchars_decode(get_option('blogname'), ENT_QUOTES); 
    227222 
    228223        $title = sprintf( __('[%s] Password Reset'), $blogname ); 
    229224