Ticket #43856: 43856.4.diff
File 43856.4.diff, 2.1 KB (added by , 3 years ago) |
---|
-
src/wp-login.php
432 432 $message .= sprintf( __( 'Site Name: %s' ), $site_name ) . "\r\n\r\n"; 433 433 /* translators: %s: User login. */ 434 434 $message .= sprintf( __( 'Username: %s' ), $user_login ) . "\r\n\r\n"; 435 $message .= __( 'If this was a mistake , justignore this email and nothing will happen.' ) . "\r\n\r\n";435 $message .= __( 'If this was a mistake ignore this email and nothing will happen.' ) . "\r\n\r\n"; 436 436 $message .= __( 'To reset your password, visit the following address:' ) . "\r\n\r\n"; 437 $message .= network_site_url( "wp-login.php?action=rp&key=$key&login=" . rawurlencode( $user_login ), 'login' ) . "\r\n ";437 $message .= network_site_url( "wp-login.php?action=rp&key=$key&login=" . rawurlencode( $user_login ), 'login' ) . "\r\n\r\n"; 438 438 439 $requestor_ip = $_SERVER['REMOTE_ADDR']; 440 if ( $requestor_ip ) { 441 $message .= sprintf( 442 /* translators: %s: IP address of password reset requestor. */ 443 __( 'This password reset request originated from the IP address %s.' ), 444 $requestor_ip 445 ) . "\r\n"; 446 } 447 439 448 /* translators: Password reset notification email subject. %s: Site title. */ 440 449 $title = sprintf( __( '[%s] Password Reset' ), $site_name ); 441 450 -
src/wp-admin/includes/class-wp-privacy-policy-content.php
584 584 $strings[] = '<p class="privacy-policy-tutorial">' . __( 'By default WordPress does not share any personal data with anyone.' ) . '</p>'; 585 585 } 586 586 587 /* translators: Default privacy policy text. */ 588 $strings[] = '<p>' . $suggested_text . __( 'If you request a password reset, your IP address will be included in the reset email.' ) . '</p>'; 589 587 590 /* translators: Default privacy policy heading. */ 588 591 $strings[] = '<h2>' . __( 'How long we retain your data' ) . '</h2>'; 589 592