mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
Docs: Document the usage of globals in upgrade_550()
and upgrade_560()
.
Follow-up to [47597], [48400], [49572], [49632]. Props upadalavipul. Fixes #56983. Built from https://develop.svn.wordpress.org/trunk@54748 git-svn-id: http://core.svn.wordpress.org/trunk@54300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
97468065ef
commit
a68f2da09a
@ -2160,6 +2160,8 @@ function upgrade_530() {
|
||||
*
|
||||
* @ignore
|
||||
* @since 5.5.0
|
||||
*
|
||||
* @global int $wp_current_db_version The old (current) database version.
|
||||
*/
|
||||
function upgrade_550() {
|
||||
global $wp_current_db_version;
|
||||
@ -2198,6 +2200,9 @@ function upgrade_550() {
|
||||
*
|
||||
* @ignore
|
||||
* @since 5.6.0
|
||||
*
|
||||
* @global int $wp_current_db_version The old (current) database version.
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*/
|
||||
function upgrade_560() {
|
||||
global $wp_current_db_version, $wpdb;
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.2-alpha-54747';
|
||||
$wp_version = '6.2-alpha-54748';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
x
Reference in New Issue
Block a user