From d13435cc58e4b1083cb50901e4aaba1c4d6c3dc6 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Sat, 5 Oct 2024 23:25:12 +0000 Subject: [PATCH] Docs: Fix note about not using new functions in `update-core.php` and `class-core-upgrader.php`. Props costdev. See #62165. Built from https://develop.svn.wordpress.org/trunk@59182 git-svn-id: http://core.svn.wordpress.org/trunk@58577 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-core-upgrader.php | 7 +++---- wp-admin/includes/update-core.php | 7 +++---- wp-includes/version.php | 2 +- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/wp-admin/includes/class-core-upgrader.php b/wp-admin/includes/class-core-upgrader.php index 7c1d5e9c10..5cb818cd59 100644 --- a/wp-admin/includes/class-core-upgrader.php +++ b/wp-admin/includes/class-core-upgrader.php @@ -13,10 +13,9 @@ * It allows for WordPress to upgrade itself in combination with * the wp-admin/includes/update-core.php file. * - * Note: newly introduced functions and methods cannot be used here. - * All functions must be present in both the previous version being upgraded from, - * and the later version that's being installed (e.g. when rolling back Core) - * as this file is used in both. + * Note: Newly introduced functions and methods cannot be used here. + * All functions must be present in the previous version being upgraded from + * as this file is used there too. * * @since 2.8.0 * @since 4.6.0 Moved to its own file from wp-admin/includes/class-wp-upgrader.php. diff --git a/wp-admin/includes/update-core.php b/wp-admin/includes/update-core.php index 1a814aa5f8..297c931bc0 100644 --- a/wp-admin/includes/update-core.php +++ b/wp-admin/includes/update-core.php @@ -2,10 +2,9 @@ /** * WordPress core upgrade functionality. * - * Note: newly introduced functions and methods cannot be used here. - * All functions must be present in both the previous version being upgraded from, - * and the later version that's being installed (e.g. when rolling back Core) - * as this file is used in both. + * Note: Newly introduced functions and methods cannot be used here. + * All functions must be present in the previous version being upgraded from + * as this file is used there too. * * @package WordPress * @subpackage Administration diff --git a/wp-includes/version.php b/wp-includes/version.php index f503ed6fe1..621947457a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.7-beta1-59181'; +$wp_version = '6.7-beta1-59182'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.