git-svn-id: http://svn.automattic.com/wordpress/trunk@13301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -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']) ) {
|
||||
|
||||
Reference in New Issue
Block a user