WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/12/2019 01:05:35 PM (20 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.

File:
1 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;
Note: See TracChangeset for help on using the changeset viewer.