diff --git a/wp-includes/capabilities.php b/wp-includes/capabilities.php index 6ab08e3713..ea8ba0ed14 100644 --- a/wp-includes/capabilities.php +++ b/wp-includes/capabilities.php @@ -728,7 +728,7 @@ class WP_User { $caps = call_user_func_array( 'map_meta_cap', $args ); // Multisite super admin has all caps by definition, Unless specifically denied. - if ( is_multisite() && is_super_admin() ) { + if ( is_multisite() && is_super_admin( $this->ID ) ) { if ( in_array('do_not_allow', $caps) ) return false; return true;