Changeset 16990 for trunk/wp-admin/network/themes.php
- Timestamp:
- 12/16/2010 08:43:22 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/network/themes.php
r16981 r16990 16 16 $menu_perms = get_site_option( 'menu_items', array() ); 17 17 18 if ( empty( $menu_perms['themes'] ) ) { 19 if ( !is_super_admin() ) 20 wp_die( __( 'Cheatin’ uh?' ) ); 21 } 18 if ( empty( $menu_perms['themes'] ) && ! is_super_admin() ) 19 wp_die( __( 'Cheatin’ uh?' ) ); 22 20 23 21 if ( !current_user_can('manage_network_themes') ) … … 25 23 26 24 $wp_list_table = get_list_table('WP_MS_Themes_List_Table'); 27 $wp_list_table->check_permissions();28 25 29 26 $action = $wp_list_table->current_action();
Note: See TracChangeset
for help on using the changeset viewer.