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

WordPress Trac noreply at wordpress.org
Sun Oct 27 19:30:38 UTC 2013


#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 wpdavis):

 Problem is still relevant. You need to switch_to_blog() in order to get
 the roles at all — even the slugs — but you can combine everything
 switch_to_blog() is needed for in one place. Patch attached.

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


More information about the wp-trac mailing list