Ticket #48716: 48716.patch
File 48716.patch, 1.6 KB (added by , 5 years ago) |
---|
-
wp-admin/includes/class-wp-site-health.php
723 723 if ( $response['is_secure'] ) { 724 724 $result['label'] = sprintf( 725 725 /* translators: %s: The server PHP version. */ 726 __( 'Your version of PHP (%s) should be updated' ),726 __( 'Your version of PHP (%s) is out of date and should be updated' ), 727 727 PHP_VERSION 728 728 ); 729 729 $result['status'] = 'recommended'; … … 734 734 // Anything no longer secure must be updated. 735 735 $result['label'] = sprintf( 736 736 /* translators: %s: The server PHP version. */ 737 __( 'Your version of PHP (%s) requires an update' ),737 __( 'Your version of PHP (%s) is out of date and requires an update' ), 738 738 PHP_VERSION 739 739 ); 740 740 $result['status'] = 'critical'; -
wp-login.php
1251 1251 $admin_email_check_interval = (int) apply_filters( 'admin_email_check_interval', 6 * MONTH_IN_SECONDS ); 1252 1252 1253 1253 if ( $admin_email_check_interval > 0 && time() > $admin_email_lifespan ) { 1254 $redirect_to = add_query_arg( 'action', 'confirm_admin_email', wp_login_url( $redirect_to ) ); 1254 $redirect_to = add_query_arg( 1255 array( 1256 'action' => 'confirm_admin_email', 1257 'wp_lang' => $user->locale, 1258 ), 1259 wp_login_url( $redirect_to ) 1260 ); 1255 1261 } 1256 1262 } 1257 1263