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-users.php

    r12632 r12646  
    1212require_once('admin-header.php');
    1313
    14 if( is_site_admin() == false ) {
     14if ( !is_super_admin() )
    1515    wp_die( __('You do not have permission to access this page.') );
    16 }
    1716
    1817if ( $_GET['updated'] == 'true' ) {
Note: See TracChangeset for help on using the changeset viewer.