Changeset 16990 for trunk/wp-admin/includes/class-wp-plugins-list-table.php
- Timestamp:
- 12/16/2010 08:43:22 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-plugins-list-table.php
r16988 r16990 32 32 $menu_perms = get_site_option( 'menu_items', array() ); 33 33 34 if ( empty( $menu_perms['plugins'] ) ) { 35 if ( !is_super_admin() ) 36 wp_die( __( 'Cheatin’ uh?' ) ); 37 } 34 if ( empty( $menu_perms['plugins'] ) && ! is_super_admin() ) 35 wp_die( __( 'Cheatin’ uh?' ) ); 38 36 } 39 37
Note: See TracChangeset
for help on using the changeset viewer.