Make WordPress Core

Changeset 15312


Ignore:
Timestamp:
06/24/2010 02:50:00 PM (15 years ago)
Author:
ryan
Message:

Pass ID to is_super_admin(). Props bigdawggi. fixes #14066 for 3.0.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/wp-includes/capabilities.php

    r15165 r15312  
    729729
    730730        // Multisite super admin has all caps by definition, Unless specifically denied.
    731         if ( is_multisite() && is_super_admin() ) {
     731        if ( is_multisite() && is_super_admin( $this->ID ) ) {
    732732            if ( in_array('do_not_allow', $caps) )
    733733                return false;
Note: See TracChangeset for help on using the changeset viewer.