[wp-trac] [WordPress Trac] #14454: function map_meta_cap does not use the user ID when checking super admin

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 29 21:59:01 UTC 2010


#14454: function map_meta_cap does not use the user ID when checking super admin
----------------------------------------------------+-----------------------
 Reporter:  dlo                                     |        Owner:        
     Type:  defect (bug)                            |       Status:  closed
 Priority:  normal                                  |    Milestone:  3.0.1 
Component:  Role/Capability                         |      Version:  3.0   
 Severity:  critical                                |   Resolution:  fixed 
 Keywords:  has-patch capability check super admin  |  
----------------------------------------------------+-----------------------

Comment(by nacin):

 (In [15480]) Ensure we're checking  when looking for is_super_admin() in
 map_meta_cap(). Bump DB version.
 fixes #14454 for trunk.

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


More information about the wp-trac mailing list