From bbfc20ee446f229b9b0579e96f6080a0f3ec43d6 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 21 Oct 2020 14:46:05 +0000 Subject: [PATCH] Coding Standards: Rename a variable in `wp-login.php` for consistency with other instances. See #50767. Built from https://develop.svn.wordpress.org/trunk@49265 git-svn-id: http://core.svn.wordpress.org/trunk@49027 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- wp-login.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index 27541ee41e..041b30fd7c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-beta1-49264'; +$wp_version = '5.6-beta1-49265'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-login.php b/wp-login.php index 7c33f9da32..a1331f38fa 100644 --- a/wp-login.php +++ b/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"; }