[wp-trac] [WordPress Trac] #63745: Suggestion Regarding PHPDoc Usage for $GLOBALS in WordPress Core
WordPress Trac
noreply at wordpress.org
Thu Jul 24 16:19:26 UTC 2025
#63745: Suggestion Regarding PHPDoc Usage for $GLOBALS in WordPress Core
------------------------------------------------+--------------------------
Reporter: viralsampat | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback 2nd-opinion | Focuses: docs
------------------------------------------------+--------------------------
Changes (by sabernhardt):
* keywords: has-patch dev-feedback needs-testing => has-patch dev-feedback
2nd-opinion
Comment:
#60021 proposed documenting `$_wp_tests_development_mode`, but the ticket
was closed without updating that.
- If it should be done, the `@global` would belong before `@return`, as in
[https://core.trac.wordpress.org/attachment/ticket/60021/60021.16.patch
60021.16.patch].
- [56042] added the global variable.
[19935] deprecated the `debug_fwrite()` function, and the `$debug`
variable could have been either `1` or `true` (`int|bool`).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63745#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list