Make WordPress Core

Changeset 48202


Ignore:
Timestamp:
06/28/2020 02:16:51 PM (4 years ago)
Author:
SergeyBiryukov
Message:

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

Props burhandodhy, johnbillion, apedog.
Fixes #50489.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/update.php

    r48148 r48202  
    985985    // Check if the event exists.
    986986    if ( false === $next_update_time ) {
    987         $message = __( 'Auto-update update not scheduled. There may be a problem with WP-Cron.' );
     987        $message = __( 'Automatic update not scheduled. There may be a problem with WP-Cron.' );
    988988    } else {
    989989        $time_to_next_update = human_time_diff( intval( $next_update_time ) );
     
    995995            $message = sprintf(
    996996                /* translators: %s: Duration that WP-Cron has been overdue. */
    997                 __( 'Auto-update update overdue by %s. There may be a problem with WP-Cron.' ),
     997                __( 'Automatic update overdue by %s. There may be a problem with WP-Cron.' ),
    998998                $time_to_next_update
    999999            );
     
    10011001            $message = sprintf(
    10021002                /* translators: %s: Time until the next update. */
    1003                 __( 'Auto-update update scheduled in %s.' ),
     1003                __( 'Automatic update scheduled in %s.' ),
    10041004                $time_to_next_update
    10051005            );
Note: See TracChangeset for help on using the changeset viewer.