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

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


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

 * milestone:  Awaiting Review => 6.1


Comment:

 Hi there, welcome to WordPress Trac! Thanks for the ticket.

 The patch looks good. Some history here:

 * `@global` tags were added in [32637].
 * `$blog_id` global usage was replaced with `get_current_blog_id()` in
 [38457].
 * `$wp_roles` global usage was added in [51943].

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


More information about the wp-trac mailing list