WordPress.org

Make WordPress Core

Ticket #47615: patch.diff

File patch.diff, 834 bytes (added by willybahuaud, 8 months ago)

patch

  • wp-login.php

    diff --git a/wp-login.php b/wp-login.php
    index dabab938d4..afb87b6426 100644
    a b function retrieve_password() { 
    393393        $message .= sprintf( __( 'Username: %s' ), $user_login ) . "\r\n\r\n";
    394394        $message .= __( 'If this was a mistake, just ignore this email and nothing will happen.' ) . "\r\n\r\n";
    395395        $message .= __( 'To reset your password, visit the following address:' ) . "\r\n\r\n";
    396         $message .= '<' . network_site_url( "wp-login.php?action=rp&key=$key&login=" . rawurlencode( $user_login ), 'login' ) . ">\r\n";
     396        $message .= network_site_url( "wp-login.php?action=rp&key=$key&login=" . rawurlencode( $user_login ), 'login' ) . "\r\n";
    397397
    398398        /* translators: Password reset notification email subject. %s: Site title */
    399399        $title = sprintf( __( '[%s] Password Reset' ), $site_name );