[wp-trac] [WordPress Trac] #63496: Document global variables comment code improvement.
WordPress Trac
noreply at wordpress.org
Thu May 29 18:34:39 UTC 2025
#63496: Document global variables comment code improvement.
---------------------------+-----------------------------
Reporter: upadalavipul | Owner: SergeyBiryukov
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 6.9
Component: General | Version:
Severity: normal | Resolution:
Keywords: needs-refresh | Focuses: docs
---------------------------+-----------------------------
Comment (by SergeyBiryukov):
Replying to [comment:2 johnbillion]:
> `$wp_version` can't be globalised here. There's an inline comment about
it
I think the patch aims to document the existing `$GLOBALS['wp_version']`
reference in [source:tags/6.8.1/src/wp-admin/includes/update-
core.php?marks=1121#L1116 line 1121].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63496#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list