From 02e26b8f6d7f2c43f9244c06c28b0537fe8c2d07 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 12 Sep 2019 13:05:35 +0000 Subject: [PATCH] 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 --- src/wp-admin/includes/upgrade.php | 4 ++-- src/wp-admin/upgrade.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/includes/upgrade.php b/src/wp-admin/includes/upgrade.php index 75c43d207e..9ebe82ed47 100644 --- a/src/wp-admin/includes/upgrade.php +++ b/src/wp-admin/includes/upgrade.php @@ -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; } diff --git a/src/wp-admin/upgrade.php b/src/wp-admin/upgrade.php index c2b90f94ee..67555f4fe9 100644 --- a/src/wp-admin/upgrade.php +++ b/src/wp-admin/upgrade.php @@ -73,7 +73,7 @@ header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option

-

+