WordPress.org

Make WordPress Core

Ticket #44589: 44589.2.diff

File 44589.2.diff, 843 bytes (added by donmhico, 2 years ago)

Refreshed the patch.

  • src/wp-login.php

    diff --git src/wp-login.php src/wp-login.php
    index fdab352a2f..886c46999e 100644
    function retrieve_password() { 
    411411        $message .= sprintf( __( 'Username: %s' ), $user_login ) . "\r\n\r\n";
    412412        $message .= __( 'If this was a mistake, just ignore this email and nothing will happen.' ) . "\r\n\r\n";
    413413        $message .= __( 'To reset your password, visit the following address:' ) . "\r\n\r\n";
    414         $message .= '<' . network_site_url( "wp-login.php?action=rp&key=$key&login=" . rawurlencode( $user_login ), 'login' ) . ">\r\n";
     414        $message .= network_site_url( "wp-login.php?action=rp&key=$key&login=" . rawurlencode( $user_login ), 'login' ) . "\r\n";
    415415
    416416        /* translators: Password reset notification email subject. %s: Site title. */
    417417        $title = sprintf( __( '[%s] Password Reset' ), $site_name );