Docs: Document the usage of globals in upgrade_550() and upgrade_560().

Follow-up to [47597], [48400], [49572], [49632].

Props upadalavipul.
Fixes #56983.

git-svn-id: https://develop.svn.wordpress.org/trunk@54748 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2022-11-03 13:36:07 +00:00
parent c14ac7f65f
commit 6c13a2da46

View File

@ -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;