Docs: Add descriptions for some globals:

* `$wp_version`
* `$wp_local_package`
* `$required_php_version`
* `$required_mysql_version`

See #48303.

git-svn-id: https://develop.svn.wordpress.org/trunk@47230 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2020-02-10 03:28:20 +00:00
parent 6fd606d236
commit c80af9030d
13 changed files with 30 additions and 29 deletions
+3 -3
View File
@@ -28,7 +28,7 @@ if ( ! current_user_can( 'update_core' ) && ! current_user_can( 'update_themes'
*
* @since 2.7.0
*
* @global string $wp_local_package
* @global string $wp_local_package Locale code of the package.
* @global wpdb $wpdb WordPress database abstraction object.
*
* @staticvar bool $first_pass
@@ -216,8 +216,8 @@ function dismissed_updates() {
*
* @since 2.7.0
*
* @global string $required_php_version
* @global string $required_mysql_version
* @global string $required_php_version The required PHP version string.
* @global string $required_mysql_version The required MySQL version string.
*/
function core_upgrade_preamble() {
global $required_php_version, $required_mysql_version;