[wp-trac] [WordPress Trac] #19765: site-users.php in network admin doesn't display users with custom roles

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 6 18:22:08 UTC 2012


#19765: site-users.php in network admin doesn't display users with custom roles
---------------------------+------------------------------
 Reporter:  wpdavis        |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Network Admin  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |
---------------------------+------------------------------

Comment (by nacin):

 I would think that a switch_to_blog() is unnecessary here. We know the
 user's roles from the meta key, or at least the role's key
 ("administrator" rather than "Administrator"). We should be able to
 display the role's key in the case where the role is not registered on the
 main site.

 Perhaps we should have a switch_to_blog() for larger reasons. PeteMall?

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


More information about the wp-trac mailing list