From 3591f1ad602b625d82e13f2857c156397a34b26b Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 12 Sep 2019 13:06:57 +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. Built from https://develop.svn.wordpress.org/trunk@46096 git-svn-id: http://core.svn.wordpress.org/trunk@45908 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/upgrade.php | 4 ++-- wp-admin/upgrade.php | 2 +- wp-includes/version.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-admin/includes/upgrade.php b/wp-admin/includes/upgrade.php index 75c43d207e..9ebe82ed47 100644 --- a/wp-admin/includes/upgrade.php +++ b/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/wp-admin/upgrade.php b/wp-admin/upgrade.php index c2b90f94ee..67555f4fe9 100644 --- a/wp-admin/upgrade.php +++ b/wp-admin/upgrade.php @@ -73,7 +73,7 @@ header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option

-

+