WordPress.org

Make WordPress Core

Ticket #19767: wp-login-for19767.diff

File wp-login-for19767.diff, 761 bytes (added by thee17, 3 years ago)
  • wp-login.php

     
    208208                $wpdb->update($wpdb->users, array('user_activation_key' => $key), array('user_login' => $user_login)); 
    209209        } 
    210210        $message = __('Someone requested that the password be reset for the following account:') . "\r\n\r\n"; 
    211         $message .= network_site_url() . "\r\n\r\n"; 
     211        $message .= trailingslashit(network_home_url()) . "\r\n\r\n"; 
    212212        $message .= sprintf(__('Username: %s'), $user_login) . "\r\n\r\n"; 
    213213        $message .= __('If this was a mistake, just ignore this email and nothing will happen.') . "\r\n\r\n"; 
    214214        $message .= __('To reset your password, visit the following address:') . "\r\n\r\n";