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
This commit is contained in:
parent
f9902dc742
commit
bbfc20ee44
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
|
@ -436,12 +436,12 @@ function retrieve_password() {
|
||||||
$message .= __( 'To reset your password, visit the following address:' ) . "\r\n\r\n";
|
$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";
|
$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'];
|
$requester_ip = $_SERVER['REMOTE_ADDR'];
|
||||||
if ( $requestor_ip ) {
|
if ( $requester_ip ) {
|
||||||
$message .= sprintf(
|
$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.' ),
|
__( 'This password reset request originated from the IP address %s.' ),
|
||||||
$requestor_ip
|
$requester_ip
|
||||||
) . "\r\n";
|
) . "\r\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue