[wp-trac] [WordPress Trac] #12109: map_meta_cap doesnt work for multisite superadmins
WordPress Trac
wp-trac at lists.automattic.com
Tue Apr 6 13:32:04 UTC 2010
#12109: map_meta_cap doesnt work for multisite superadmins
------------------------------------+---------------------------------------
Reporter: dd32 | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.0
Component: Role/Capability | Version:
Severity: normal | Resolution:
Keywords: multisite dev-feedback |
------------------------------------+---------------------------------------
Changes (by nacin):
* keywords: multisite has-patch dev-feedback => multisite dev-feedback
Comment:
I am very confused by [14011]. These checks are already made here:
{{{
if ( is_multisite() && !IS_PROFILE_PAGE && current_user_can(
'manage_network_options' ) )
empty( $_POST['super_admin'] ) ? revoke_super_admin(
$user_id ) : grant_super_admin( $user_id );
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12109#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list