- Timestamp:
- 12/15/2010 07:09:50 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-ms-themes-list-table.php
r16700 r16967 38 38 39 39 function check_permissions() { 40 if ( is_multisite() ) { 41 $menu_perms = get_site_option( 'menu_items', array() ); 42 43 if ( empty( $menu_perms['themes'] ) ) { 44 if ( !is_super_admin() ) 45 wp_die( __( 'Cheatin’ uh?' ) ); 46 } 40 $menu_perms = get_site_option( 'menu_items', array() ); 41 42 if ( empty( $menu_perms['themes'] ) ) { 43 if ( !is_super_admin() ) 44 wp_die( __( 'Cheatin’ uh?' ) ); 47 45 } 48 46
Note: See TracChangeset
for help on using the changeset viewer.