#48172 closed enhancement (invalid)
Global WP Documented as $wp_locale; Actual Global Used is $wp
Reported by: | dhurlburtusa | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | trivial | Version: | |
Component: | General | Keywords: | |
Focuses: | docs | Cc: |
Description
The documentation for the wp
function is incorrect. The function uses the $wp
global but not the $wp_locale
global. The documentation, i.e., the doc comments, says $wp_locale
instead of $wp
.
Change History (3)
#2
@
5 years ago
- Milestone Awaiting Review deleted
- Resolution set to invalid
- Status changed from new to closed
Thanks for the report @dhurlburtusa! Welcome to WordPress Trac.
The problem you reported has already been fixed in the development version of WordPress in changeset [45736]. It'll be released in the next version of WordPress.
Note: See
TracTickets for help on using
tickets.
I'll create a patch for this. The fix is extremely trivial. I just need to set up my environment. I am currently reading through the Core Contributor Handbook https://make.wordpress.org/core/handbook/.