[wp-trac] [WordPress Trac] #48172: Global WP Documented as $wp_locale; Actual Global Used is $wp

WordPress Trac noreply at wordpress.org
Sun Sep 29 18:28:45 UTC 2019


#48172: Global WP Documented as $wp_locale; Actual Global Used is $wp
--------------------------+-----------------------------
 Reporter:  dhurlburtusa  |      Owner:  (none)
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  trivial       |   Keywords:
  Focuses:  docs          |
--------------------------+-----------------------------
 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`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48172>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list