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-themes.php

    r13106 r13301  
    66require_once('admin-header.php');
    77
    8 if ( !is_super_admin() )
     8if ( ! current_user_can( 'manage_network_themes' ) )
    99    wp_die( __('You do not have permission to access this page.') );
    1010
Note: See TracChangeset for help on using the changeset viewer.