WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/22/2010 06:41:38 PM (12 years ago)
Author:
wpmuguru
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/ms-sites.php

    r13106 r13301  
    1212require_once('admin-header.php');
    1313
    14 if ( !is_super_admin() )
     14if ( ! current_user_can( 'manage_sites' ) )
    1515    wp_die( __('You do not have permission to access this page.') );
    1616
Note: See TracChangeset for help on using the changeset viewer.