[wp-trac] [WordPress Trac] #46019: Themes using get_users() appear to change the current user

WordPress Trac noreply at wordpress.org
Thu Jan 17 11:05:35 UTC 2019


#46019: Themes using get_users() appear to change the current user
--------------------------+-----------------------------
 Reporter:  lordmatt      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Users         |    Version:  5.0.3
 Severity:  major         |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I have observed get_users() used to iterate through users (to make a list
 of current contributors) also changes the current user which causes the
 wrong user to be shown in the WP toolbar.

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


More information about the wp-trac mailing list