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
This commit is contained in:
parent
87ff38532d
commit
325ba4b811
@ -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
Block a user