From dda16f9096dc14706daaf04e046d19e036eedf88 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 28 Jun 2020 14:16:51 +0000 Subject: [PATCH] Security: Improve the wording of messages in `wp_get_auto_update_message()`. Props burhandodhy, johnbillion, apedog. Fixes #50489. git-svn-id: https://develop.svn.wordpress.org/trunk@48202 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/update.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/includes/update.php b/src/wp-admin/includes/update.php index 55630bdc5b..92a14dc61f 100644 --- a/src/wp-admin/includes/update.php +++ b/src/wp-admin/includes/update.php @@ -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 ); }