WordPress.org

Make WordPress Core

Changeset 46096


Ignore:
Timestamp:
09/12/2019 01:05:35 PM (2 months ago)
Author:
SergeyBiryukov
Message:

Text Changes: Correct "up-to-date" vs. "up to date" usage in a database update string and inline comments.

  • "Up to date" is an adverb phrase that describes an action that brings something in line with the latest information.
  • "Up-to-date" is an adjective phrase that is used as a synonym for "current".

Props socalchristina, hareesh-pillai, garrett-eclipse, desrosj, aprea.
Fixes #38998.

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

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

    r45932 r46096  
    631631        $wp_current_db_version = __get_option( 'db_version' );
    632632
    633         // We are up-to-date. Nothing to do.
     633        // We are up to date. Nothing to do.
    634634        if ( $wp_db_version == $wp_current_db_version ) {
    635635            return;
     
    688688    $wp_current_db_version = __get_option( 'db_version' );
    689689
    690     // We are up-to-date. Nothing to do.
     690    // We are up to date. Nothing to do.
    691691    if ( $wp_db_version == $wp_current_db_version ) {
    692692        return;
  • trunk/src/wp-admin/upgrade.php

    r45932 r46096  
    7474
    7575<h1><?php _e( 'No Update Required' ); ?></h1>
    76 <p><?php _e( 'Your WordPress database is already up-to-date!' ); ?></p>
     76<p><?php _e( 'Your WordPress database is already up to date!' ); ?></p>
    7777<p class="step"><a class="button button-large" href="<?php echo get_option( 'home' ); ?>/"><?php _e( 'Continue' ); ?></a></p>
    7878
Note: See TracChangeset for help on using the changeset viewer.