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.

git-svn-id: https://develop.svn.wordpress.org/trunk@46096 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2019-09-12 13:05:35 +00:00
parent bc6f11decd
commit 02e26b8f6d
2 changed files with 3 additions and 3 deletions

View File

@ -630,7 +630,7 @@ if ( ! function_exists( 'wp_upgrade' ) ) :
$wp_current_db_version = __get_option( 'db_version' );
// We are up-to-date. Nothing to do.
// We are up to date. Nothing to do.
if ( $wp_db_version == $wp_current_db_version ) {
return;
}
@ -687,7 +687,7 @@ function upgrade_all() {
global $wp_current_db_version, $wp_db_version;
$wp_current_db_version = __get_option( 'db_version' );
// We are up-to-date. Nothing to do.
// We are up to date. Nothing to do.
if ( $wp_db_version == $wp_current_db_version ) {
return;
}

View File

@ -73,7 +73,7 @@ header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option
<?php if ( get_option( 'db_version' ) == $wp_db_version || ! is_blog_installed() ) : ?>
<h1><?php _e( 'No Update Required' ); ?></h1>
<p><?php _e( 'Your WordPress database is already up-to-date!' ); ?></p>
<p><?php _e( 'Your WordPress database is already up to date!' ); ?></p>
<p class="step"><a class="button button-large" href="<?php echo get_option( 'home' ); ?>/"><?php _e( 'Continue' ); ?></a></p>
<?php