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:
parent
bc6f11decd
commit
02e26b8f6d
@ -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;
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user