[wp-trac] [WordPress Trac] #14051: Cannot remove super admin privileges from user

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 28 19:42:31 UTC 2010


#14051: Cannot remove super admin privileges from user
-----------------------------+----------------------------------------------
 Reporter:  andrejcarter     |       Owner:                   
     Type:  defect (bug)     |      Status:  new              
 Priority:  normal           |   Milestone:  Awaiting Review  
Component:  Role/Capability  |     Version:  3.0              
 Severity:  normal           |    Keywords:  reporter-feedback
-----------------------------+----------------------------------------------

Comment(by nacin):

 Replying to [comment:4 andrea_r]:
 > I'm 99% that's how Ron coded it up.

 That's correct. Ref: revoke_super_admin():
 http://core.trac.wordpress.org/browser/trunk/wp-
 admin/includes/ms.php?rev=15590#L745

 Would have been nicer had I written those functions to return WP_Error. We
 can probably still do that, as I doubt anyone is really checking the
 return values of those functions. But in lieu of that, we can hide that
 checkbox and add a string noting that the network admin email matches this
 user.

 It's worth noting that the network admin email does not make a super
 admin. It simply prevents them from losing their privileges. Seems
 inconsistent.

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


More information about the wp-trac mailing list