WordPress.org

Make WordPress Core

Ticket #44589: 44589.diff

File 44589.diff, 833 bytes (added by Otto42, 13 months ago)
  • wp-login.php

     
    377377        $message .= sprintf( __( 'Username: %s' ), $user_login ) . "\r\n\r\n";
    378378        $message .= __( 'If this was a mistake, just ignore this email and nothing will happen.' ) . "\r\n\r\n";
    379379        $message .= __( 'To reset your password, visit the following address:' ) . "\r\n\r\n";
    380         $message .= '<' . network_site_url( "wp-login.php?action=rp&key=$key&login=" . rawurlencode( $user_login ), 'login' ) . ">\r\n";
     380        $message .= network_site_url( "wp-login.php?action=rp&key=$key&login=" . rawurlencode( $user_login ), 'login' ) . "\r\n";
    381381
    382382        /* translators: Password reset email subject. %s: Site name */
    383383        $title = sprintf( __( '[%s] Password Reset' ), $site_name );