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
This commit is contained in:
Andrew Ozz 2024-10-05 23:25:12 +00:00
parent 449c91edb7
commit d13435cc58
3 changed files with 7 additions and 9 deletions

View File

@ -13,10 +13,9 @@
* It allows for WordPress to upgrade itself in combination with * It allows for WordPress to upgrade itself in combination with
* the wp-admin/includes/update-core.php file. * the wp-admin/includes/update-core.php file.
* *
* Note: newly introduced functions and methods cannot be used here. * Note: Newly introduced functions and methods cannot be used here.
* All functions must be present in both the previous version being upgraded from, * All functions must be present in 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 there too.
* as this file is used in both.
* *
* @since 2.8.0 * @since 2.8.0
* @since 4.6.0 Moved to its own file from wp-admin/includes/class-wp-upgrader.php. * @since 4.6.0 Moved to its own file from wp-admin/includes/class-wp-upgrader.php.

View File

@ -2,10 +2,9 @@
/** /**
* WordPress core upgrade functionality. * WordPress core upgrade functionality.
* *
* Note: newly introduced functions and methods cannot be used here. * Note: Newly introduced functions and methods cannot be used here.
* All functions must be present in both the previous version being upgraded from, * All functions must be present in 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 there too.
* as this file is used in both.
* *
* @package WordPress * @package WordPress
* @subpackage Administration * @subpackage Administration

View File

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