Make WordPress Core

Changeset 60493


Ignore:
Timestamp:
07/21/2025 07:17:10 PM (8 months ago)
Author:
johnjamesjacoby
Message:

Docs: remove global references to $wp_version that are no longer accurate.

This commit cleans up a few global $wp_version doc-block entries for functions that switched to using wp_get_wp_version() in 6.7.

Follow up to [58848], [59192].

Props viralsampat.

Fixes #63732.

File:
1 edited

Legend:

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

    r60034 r60493  
    2222 * @since 2.3.0
    2323 *
    24  * @global string $wp_version       Used to check against the newest WordPress version.
    2524 * @global wpdb   $wpdb             WordPress database abstraction object.
    2625 * @global string $wp_local_package Locale code of the package.
     
    317316 *
    318317 * @since 2.3.0
    319  *
    320  * @global string $wp_version The WordPress version string.
    321318 *
    322319 * @param array $extra_stats Extra statistics to report to the WordPress.org API.
     
    591588 * @since 2.7.0
    592589 *
    593  * @global string $wp_version The WordPress version string.
    594  *
    595590 * @param array $extra_stats Extra statistics to report to the WordPress.org API.
    596591 */
Note: See TracChangeset for help on using the changeset viewer.