[wp-trac] [WordPress Trac] #11781: there is potential for odd behavior in two queries in ms-edit.php

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 19 20:13:34 UTC 2010


#11781: there is potential for odd behavior in two queries in ms-edit.php
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:           
     Type:  defect (bug)       |      Status:  new      
 Priority:  normal             |   Milestone:  3.0      
Component:  Multisite          |     Version:  3.0      
 Severity:  normal             |    Keywords:  has-patch
-------------------------------+--------------------------------------------

Comment(by ryan):

 Hacked in a means of using the WP_User::set_role() API. We need a means of
 setting the blog we want to get the caps for so we can lose the
 _init_caps() hack.  WP_User::for_blog() or the like.

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


More information about the wp-trac mailing list