[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
Sat Jan 7 14:03:30 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 wpdavis):

 Which switch_to_blog are you referring to? The one I added in
 prepare_items is necessary for the query for custom roles to run correctly
 — without it, when you look for all users with custom_role it returns
 nothing.

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


More information about the wp-trac mailing list