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

git-svn-id: http://svn.automattic.com/wordpress/trunk@13301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
wpmuguru
2010-02-22 18:41:38 +00:00
parent 10ee577b12
commit a5a9f32b73
9 changed files with 62 additions and 24 deletions

View File

@@ -5,7 +5,7 @@ $title = __('WordPress › Admin › Themes');
$parent_file = 'ms-admin.php';
require_once('admin-header.php');
if ( !is_super_admin() )
if ( ! current_user_can( 'manage_network_themes' ) )
wp_die( __('You do not have permission to access this page.') );
if ( isset($_GET['updated']) ) {