[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:45:47 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:  trivial            |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by lordmatt):

 * severity:  minor => trivial


Comment:

 Did some digging. Back c.2012 or before `$current_user` was a global (and
 still is for backwards compatibility). The true bug here, then is maybe
 that the WP toolbar depends on it? Is it worth posting a separate ticket
 for that? I don't want to overstep my bounds here.

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


More information about the wp-trac mailing list