[wp-trac] [WordPress Trac] #18934: Multisite issue cleaning up empty capabilities

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 21 21:23:31 UTC 2011


#18934: Multisite issue cleaning up empty capabilities
--------------------------------------+-----------------------
 Reporter:  jammitch                  |       Owner:  PeteMall
     Type:  defect (bug)              |      Status:  accepted
 Priority:  normal                    |   Milestone:  3.3
Component:  Multisite                 |     Version:  3.2.1
 Severity:  normal                    |  Resolution:
 Keywords:  needs-patch dev-feedback  |
--------------------------------------+-----------------------
Changes (by PeteMall):

 * keywords:  needs-patch => needs-patch dev-feedback
 * owner:   => PeteMall
 * status:  new => accepted


Comment:

 There is a check for !is_network_admin() which means you are editing a
 user in the site admin and the user does not belong to that site (empty
 caps). Only way to get there is by editing the user id in the url. You can
 test by editing a user, with no caps on a site, using the edit-user page
 in the site admin. The user will be edited but wouldn't be added to the
 site.

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


More information about the wp-trac mailing list