Make WordPress Core


Ignore:
Timestamp:
02/10/2020 03:28:20 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Add descriptions for some globals:

  • $wp_version
  • $wp_local_package
  • $required_php_version
  • $required_mysql_version

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/update.php

    r47198 r47230  
    1717 * @global string $wp_version       Used to check against the newest WordPress version.
    1818 * @global wpdb   $wpdb             WordPress database abstraction object.
    19  * @global string $wp_local_package
     19 * @global string $wp_local_package Locale code of the package.
    2020 *
    2121 * @param array $extra_stats Extra statistics to report to the WordPress.org API.
     
    252252 *
    253253 * @since 2.3.0
    254  * @global string $wp_version Used to notify the WordPress version.
     254 * @global string $wp_version The WordPress version string.
    255255 *
    256256 * @param array $extra_stats Extra statistics to report to the WordPress.org API.
     
    433433 *
    434434 * @since 2.7.0
     435 * @global string $wp_version The WordPress version string.
    435436 *
    436437 * @param array $extra_stats Extra statistics to report to the WordPress.org API.
     
    726727 * @since 2.8.0
    727728 *
    728  * @global string $wp_version
     729 * @global string $wp_version The WordPress version string.
    729730 */
    730731function _maybe_update_core() {
Note: See TracChangeset for help on using the changeset viewer.