[wp-trac] [WordPress Trac] #11271: User Edit page only displays info for current logged in user

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 27 06:40:47 UTC 2009


#11271: User Edit page only displays info for current logged in user
--------------------------+-------------------------------------------------
 Reporter:  cnorris23     |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  high          |   Milestone:  2.9      
Component:  Users         |     Version:  2.9      
 Severity:  blocker       |    Keywords:  has-patch
--------------------------+-------------------------------------------------
Changes (by nacin):

  * keywords:  => has-patch
  * severity:  critical => blocker


Comment:

 Confirming that it is a blocker.

 With [12267], setup_userdata now sets up $user_id (in addition to
 $user_ID, as it had before) as the current user. wp_reset_vars in
 user_edit.php then won't set $user_id to the query var because it is set
 already.

 From what I know, user_ID is used globally as the logged in user, as
 user_id is used to talk about other users.

 Patch reverts changes to setup_userdata made in [12267]. That should
 should fix it.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11271#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list