User is_super_admin(). Props GIGALinux. see #11644

git-svn-id: https://develop.svn.wordpress.org/trunk@12646 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2010-01-07 15:52:22 +00:00
parent cc623632d3
commit aff9330640
5 changed files with 9 additions and 12 deletions
+1 -2
View File
@@ -4,9 +4,8 @@ require_once('admin.php');
if ( !is_multisite() )
wp_die( __('Multisite support is not enabled.') );
if( is_site_admin() == false ) {
if ( !is_super_admin() )
wp_die( __('You do not have permission to access this page.') );
}
do_action('wpmuadminedit', '');