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
This commit is contained in:
Sergey Biryukov 2023-09-01 11:07:13 +00:00
parent e7475d16ba
commit 023f4f860b
2 changed files with 1 additions and 6 deletions

View File

@ -242,13 +242,8 @@ function dismissed_updates() {
* Display upgrade WordPress for downloading latest or upgrading automatically form. * Display upgrade WordPress for downloading latest or upgrading automatically form.
* *
* @since 2.7.0 * @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() { function core_upgrade_preamble() {
global $required_php_version, $required_mysql_version;
$updates = get_core_updates(); $updates = get_core_updates();
// Include an unmodified $wp_version. // Include an unmodified $wp_version.

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.