From 325ba4b81138a7cafc87cb655506c0f84d6c79d0 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 21 Oct 2020 14:44:58 +0000 Subject: [PATCH] Coding Standards: Rename a variable in `wp-login.php` for consistency with other instances. See #50767. git-svn-id: https://develop.svn.wordpress.org/trunk@49265 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-login.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-login.php b/src/wp-login.php index 7c33f9da32..a1331f38fa 100644 --- a/src/wp-login.php +++ b/src/wp-login.php @@ -436,12 +436,12 @@ function retrieve_password() { $message .= __( 'To reset your password, visit the following address:' ) . "\r\n\r\n"; $message .= network_site_url( "wp-login.php?action=rp&key=$key&login=" . rawurlencode( $user_login ), 'login' ) . "\r\n\r\n"; - $requestor_ip = $_SERVER['REMOTE_ADDR']; - if ( $requestor_ip ) { + $requester_ip = $_SERVER['REMOTE_ADDR']; + if ( $requester_ip ) { $message .= sprintf( - /* translators: %s: IP address of password reset requestor. */ + /* translators: %s: IP address of password reset requester. */ __( 'This password reset request originated from the IP address %s.' ), - $requestor_ip + $requester_ip ) . "\r\n"; }