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
+4 -3
View File
@@ -16,7 +16,7 @@
* @since 2.3.0
* @global string $wp_version Used to check against the newest WordPress version.
* @global wpdb $wpdb WordPress database abstraction object.
* @global string $wp_local_package
* @global string $wp_local_package Locale code of the package.
*
* @param array $extra_stats Extra statistics to report to the WordPress.org API.
* @param bool $force_check Whether to bypass the transient cache and force a fresh update check. Defaults to false, true if $extra_stats is set.
@@ -251,7 +251,7 @@ function wp_version_check( $extra_stats = array(), $force_check = false ) {
* api.wordpress.org. Will only check if WordPress isn't installing.
*
* @since 2.3.0
* @global string $wp_version Used to notify the WordPress version.
* @global string $wp_version The WordPress version string.
*
* @param array $extra_stats Extra statistics to report to the WordPress.org API.
*/
@@ -432,6 +432,7 @@ function wp_update_plugins( $extra_stats = array() ) {
* installing.
*
* @since 2.7.0
* @global string $wp_version The WordPress version string.
*
* @param array $extra_stats Extra statistics to report to the WordPress.org API.
*/
@@ -725,7 +726,7 @@ function wp_get_update_data() {
*
* @since 2.8.0
*
* @global string $wp_version
* @global string $wp_version The WordPress version string.
*/
function _maybe_update_core() {
// Include an unmodified $wp_version.