[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:04:34 UTC 2025
#63732: Observation on Unused Global Variables in WordPress Core PHP Files
----------------------------+------------------------------
Reporter: viralsampat | Owner: johnjamesjacoby
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 6.9
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: docs
----------------------------+------------------------------
Comment (by johnjamesjacoby):
> I have checked above mentioned issue and resolved it. Here, I have added
my patch.
@viralsampat `$GLOBALS['wp_version']` is used in `plugin.php` and
`rss.php` so those should stay.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63732#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list