[wp-trac] [WordPress Trac] #63496: Document global variables comment code improvement.
WordPress Trac
noreply at wordpress.org
Thu May 29 22:19:04 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 johnbillion):
Replying to [comment:5 SergeyBiryukov]:
> 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].
Seeing as that explicitly uses the `$GLOBALS` superglobal I would say it
doesn't need documenting as a global.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63496#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list