Skip to content

Commit 7be47cf

Browse files
committed
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. git-svn-id: https://develop.svn.wordpress.org/trunk@60493 602fd350-edb4-49c9-b593-d223f7449a82
1 parent c059a21 commit 7be47cf

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/wp-includes/update.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
*
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.
2726
*
@@ -317,8 +316,6 @@ function wp_version_check( $extra_stats = array(), $force_check = false ) {
317316
*
318317
* @since 2.3.0
319318
*
320-
* @global string $wp_version The WordPress version string.
321-
*
322319
* @param array $extra_stats Extra statistics to report to the WordPress.org API.
323320
*/
324321
function wp_update_plugins( $extra_stats = array() ) {
@@ -590,8 +587,6 @@ function wp_update_plugins( $extra_stats = array() ) {
590587
*
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
*/
597592
function wp_update_themes( $extra_stats = array() ) {

0 commit comments

Comments
 (0)