mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user