[wp-trac] [WordPress Trac] #63732: Observation on Unused Global Variables in WordPress Core PHP Files

WordPress Trac noreply at wordpress.org
Mon Jul 21 19:17:26 UTC 2025


#63732: Observation on Unused Global Variables in WordPress Core PHP Files
----------------------------+------------------------------
 Reporter:  viralsampat     |       Owner:  johnjamesjacoby
     Type:  task (blessed)  |      Status:  closed
 Priority:  normal          |   Milestone:  6.9
Component:  General         |     Version:  6.7
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:  docs
----------------------------+------------------------------
Changes (by johnjamesjacoby):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"60493" 60493]:
 {{{
 #!CommitTicketReference repository="" revision="60493"
 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.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63732#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list