Security: Improve the wording of messages in wp_get_auto_update_message().

Props burhandodhy, johnbillion, apedog.
Fixes #50489.
Built from https://develop.svn.wordpress.org/trunk@48202


git-svn-id: http://core.svn.wordpress.org/trunk@47971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-06-28 14:18:03 +00:00
parent 83d20390c6
commit 42f06389c0
2 changed files with 4 additions and 4 deletions

View File

@ -984,7 +984,7 @@ function wp_get_auto_update_message() {
// Check if the event exists.
if ( false === $next_update_time ) {
$message = __( 'Auto-update update not scheduled. There may be a problem with WP-Cron.' );
$message = __( 'Automatic update not scheduled. There may be a problem with WP-Cron.' );
} else {
$time_to_next_update = human_time_diff( intval( $next_update_time ) );
@ -994,13 +994,13 @@ function wp_get_auto_update_message() {
if ( $overdue ) {
$message = sprintf(
/* translators: %s: Duration that WP-Cron has been overdue. */
__( 'Auto-update update overdue by %s. There may be a problem with WP-Cron.' ),
__( 'Automatic update overdue by %s. There may be a problem with WP-Cron.' ),
$time_to_next_update
);
} else {
$message = sprintf(
/* translators: %s: Time until the next update. */
__( 'Auto-update update scheduled in %s.' ),
__( 'Automatic update scheduled in %s.' ),
$time_to_next_update
);
}

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.5-alpha-48201';
$wp_version = '5.5-alpha-48202';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.