Make WordPress Core

Ticket #21095: 21095.patch

File 21095.patch, 941 bytes (added by sebastian.pisula, 5 years ago)

Patch

  • wp-login.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    414414        $message .= sprintf( __( 'Username: %s' ), $user_login ) . "\r\n\r\n";
    415415        $message .= __( 'If this was a mistake, just ignore this email and nothing will happen.' ) . "\r\n\r\n";
    416416        $message .= __( 'To reset your password, visit the following address:' ) . "\r\n\r\n";
    417         $message .= '<' . network_site_url( "wp-login.php?action=rp&key=$key&login=" . rawurlencode( $user_login ), 'login' ) . ">\r\n";
     417        $message .= network_site_url( "wp-login.php?action=rp&key=$key&login=" . rawurlencode( $user_login ), 'login' ). "\r\n";
    418418
    419419        /* translators: Password reset notification email subject. %s: Site title. */
    420420        $title = sprintf( __( '[%s] Password Reset' ), $site_name );