[wp-trac] [WordPress Trac] #63496: Document global variables comment code improvement.

WordPress Trac noreply at wordpress.org
Thu May 29 23:46:59 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:6 johnbillion]:
 > Seeing as that explicitly uses the `$GLOBALS` superglobal I would say it
 doesn't need documenting as a global.

 That would be inconsistent with the rest of core though, we do document
 these `$GLOBALS` references pretty much everywhere :)

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


More information about the wp-trac mailing list