mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@54748 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c14ac7f65f
commit
6c13a2da46
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user