git-svn-id: http://svn.automattic.com/wordpress/trunk@13301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -11,7 +11,7 @@ wp_enqueue_script( 'admin-forms' );
|
||||
|
||||
require_once('admin-header.php');
|
||||
|
||||
if ( !is_super_admin() )
|
||||
if ( ! current_user_can( 'manage_sites' ) )
|
||||
wp_die( __('You do not have permission to access this page.') );
|
||||
|
||||
$id = isset($_GET['id']) ? intval( $_GET['id'] ) : 0;
|
||||
|
||||
Reference in New Issue
Block a user