multisite UX, see #11644, add manage_ caps for super_admin, fixes #11803

git-svn-id: https://develop.svn.wordpress.org/trunk@13301 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ron Rennick
2010-02-22 18:41:38 +00:00
parent 1543bdbf56
commit c7e12e9265
9 changed files with 62 additions and 24 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ add_action( 'admin_head', 'index_css' );
require_once('admin-header.php');
if ( !is_super_admin() )
if ( ! current_user_can( 'manage_network' ) )
wp_die( __('You do not have permission to access this page.') );
global $wpdb;