From e8a19e8976e76f408ad1ea2f7ecb0be7cf33140c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 30 May 2025 13:38:32 +0000 Subject: [PATCH] Docs: Document the `$wp_version` global in `update_core()`. Follow-up to [17576], [22226], [31124], [32643], [39687]. Props upadalavipul, mukesh27, johnbillion, SergeyBiryukov. Fixes #63496. Built from https://develop.svn.wordpress.org/trunk@60265 git-svn-id: http://core.svn.wordpress.org/trunk@59601 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/update-core.php | 1 + wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-admin/includes/update-core.php b/wp-admin/includes/update-core.php index f1731f9c8f..2d925afa63 100644 --- a/wp-admin/includes/update-core.php +++ b/wp-admin/includes/update-core.php @@ -1023,6 +1023,7 @@ $_new_bundled_files = array( * @global string[] $_old_requests_files * @global string[] $_new_bundled_files * @global wpdb $wpdb WordPress database abstraction object. + * @global string $wp_version The WordPress version string. * * @param string $from New release unzipped path. * @param string $to Path to old WordPress installation. diff --git a/wp-includes/version.php b/wp-includes/version.php index 3d3ea79cd6..41bab5b442 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.9-alpha-60264'; +$wp_version = '6.9-alpha-60265'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.