Make WordPress Core


Ignore:
Timestamp:
01/07/2010 03:52:22 PM (15 years ago)
Author:
ryan
Message:

User is_super_admin(). Props GIGALinux. see #11644

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/ms-sites.php

    r12640 r12646  
    1111
    1212require_once('admin-header.php');
    13 if( is_site_admin() == false ) {
    14     wp_die( __('You do not have permission to access this page.') );
    15 }
     13
     14if ( !is_super_admin() )
     15    wp_die( __('You do not have permission to access this page.') );
     16
    1617$id = intval( $_GET['id'] );
    1718$protocol = is_ssl() ? 'https://' : 'http://';
Note: See TracChangeset for help on using the changeset viewer.