[wp-trac] [WordPress Trac] #56543: Correct wrong `@global` tag in class WP_User_Query

WordPress Trac noreply at wordpress.org
Sun Sep 11 13:11:47 UTC 2022


#56543: Correct wrong `@global` tag in class WP_User_Query
----------------------------+-----------------------------
 Reporter:  shoaibkarimali  |       Owner:  SergeyBiryukov
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  6.1
Component:  Query           |     Version:  6.0.2
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:  docs
----------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"54119" 54119]:
 {{{
 #!CommitTicketReference repository="" revision="54119"
 Docs: Correct `@global` tags in `WP_User_Query::prepare_query()`.

 * `$blog_id` global was replaced with `get_current_blog_id()` and is no
 longer used directly.
 * `$wp_roles` global usage was previously undocumented.

 Follow-up to [32637], [38457], [51943].

 Props shoaibkarimali.
 Fixes #56543.
 }}}

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


More information about the wp-trac mailing list