WordPress.org

Make WordPress Core

Changeset 49265


Ignore:
Timestamp:
10/21/2020 02:44:58 PM (3 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Rename a variable in wp-login.php for consistency with other instances.

See #50767.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-login.php

    r49255 r49265  
    437437    $message .= network_site_url( "wp-login.php?action=rp&key=$key&login=" . rawurlencode( $user_login ), 'login' ) . "\r\n\r\n";
    438438
    439     $requestor_ip = $_SERVER['REMOTE_ADDR'];
    440     if ( $requestor_ip ) {
     439    $requester_ip = $_SERVER['REMOTE_ADDR'];
     440    if ( $requester_ip ) {
    441441        $message .= sprintf(
    442             /* translators: %s: IP address of password reset requestor. */
     442            /* translators: %s: IP address of password reset requester. */
    443443            __( 'This password reset request originated from the IP address %s.' ),
    444             $requestor_ip
     444            $requester_ip
    445445        ) . "\r\n";
    446446    }
Note: See TracChangeset for help on using the changeset viewer.