Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#48172 closed enhancement (invalid)

Global WP Documented as $wp_locale; Actual Global Used is $wp

Reported by: dhurlburtusa's profile 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)

#1 @dhurlburtusa
5 years ago

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/.

#2 @johnbillion
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.

#3 @dhurlburtusa
5 years ago

@johnbillion Thanks John. I just found out myself. I see that Sergey fixed it 2 months ago. We'll at now I have my laptop all set up to do some other contributions.

Version 0, edited 5 years ago by dhurlburtusa (next)
Note: See TracTickets for help on using tickets.