From 1be34a234fb05c7c23fb3fece407d7ab3386286c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 17 Apr 2019 14:07:53 +0000 Subject: [PATCH] Docs: Remove `@global` tag for `$wpdb` from `wp-admin/install.php` and `wp-admin/upgrade.php`. Per the documentation standards, the `@global` tag is meant to list PHP globals used within functions or methods. The code in question uses the variable in global namespace, but does not explicitly declare it. Props jayupadhyay01, dswebsme. Fixes #46602. Built from https://develop.svn.wordpress.org/trunk@45233 git-svn-id: http://core.svn.wordpress.org/trunk@45042 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/install.php | 1 - wp-admin/upgrade.php | 1 - wp-includes/version.php | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/wp-admin/install.php b/wp-admin/install.php index 4ee27d6100..4a38eab1cd 100644 --- a/wp-admin/install.php +++ b/wp-admin/install.php @@ -229,7 +229,6 @@ if ( is_blog_installed() ) { * @global string $wp_version * @global string $required_php_version * @global string $required_mysql_version - * @global wpdb $wpdb */ global $wp_version, $required_php_version, $required_mysql_version; diff --git a/wp-admin/upgrade.php b/wp-admin/upgrade.php index ebafb5cc8c..330ef0fd9d 100644 --- a/wp-admin/upgrade.php +++ b/wp-admin/upgrade.php @@ -40,7 +40,6 @@ if ( 'upgrade_db' === $step ) { * @global string $wp_version * @global string $required_php_version * @global string $required_mysql_version - * @global wpdb $wpdb */ global $wp_version, $required_php_version, $required_mysql_version; diff --git a/wp-includes/version.php b/wp-includes/version.php index 2a78b90d20..8a5b2a751b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.2-beta3-45232'; +$wp_version = '5.2-beta3-45233'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.