From 023f4f860b734824f5a17b30e9a07d70ac8d1739 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 1 Sep 2023 11:07:13 +0000 Subject: [PATCH] Upgrade/Install: Remove unused globals in `core_upgrade_preamble()`. Follow-up to [49638]. Props upadalavipul. See #59254. Built from https://develop.svn.wordpress.org/trunk@56505 git-svn-id: http://core.svn.wordpress.org/trunk@56017 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/update-core.php | 5 ----- wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/wp-admin/update-core.php b/wp-admin/update-core.php index 8949f39e33..f1a8530a22 100644 --- a/wp-admin/update-core.php +++ b/wp-admin/update-core.php @@ -242,13 +242,8 @@ function dismissed_updates() { * Display upgrade WordPress for downloading latest or upgrading automatically form. * * @since 2.7.0 - * - * @global string $required_php_version The required PHP version string. - * @global string $required_mysql_version The required MySQL version string. */ function core_upgrade_preamble() { - global $required_php_version, $required_mysql_version; - $updates = get_core_updates(); // Include an unmodified $wp_version. diff --git a/wp-includes/version.php b/wp-includes/version.php index dad2e3e774..a2b075a4ed 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.4-alpha-56504'; +$wp_version = '6.4-alpha-56505'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.