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

WordPress Trac noreply at wordpress.org
Sat Feb 9 13:49:03 UTC 2019


#46019: Themes using get_users() appear to change the current user
--------------------------+----------------------
 Reporter:  lordmatt      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Users         |     Version:  5.0.3
 Severity:  trivial       |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by swissspidy):

 * keywords:  reporter-feedback =>
 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Yes, `$current_user` is a global variable in WordPress, but it is by no
 means deprecated.

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


More information about the wp-trac mailing list