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-upgrade-site.php

    r12632 r12646  
    1111require_once('admin-header.php');
    1212
    13 if ( is_site_admin() == false ) {
    14     wp_die( __('You do not have permission to access this page.') );
    15 }
     13if ( !is_super_admin() )
     14    wp_die( __('You do not have permission to access this page.') );
    1615
    1716echo '<div class="wrap">';
Note: See TracChangeset for help on using the changeset viewer.