WordPress.org

Make WordPress Core

Changeset 15324


Ignore:
Timestamp:
06/24/2010 07:51:46 PM (8 years ago)
Author:
westi
Message:

Remove dead code. Props nacin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/plugins.php

    r15323 r15324  
    1212    $menu_perms = get_site_option( 'menu_items', array() );
    1313       
    14     if ( empty($menu_perms['plugins'] ) || $menu_perms['plugins'] != 1 ) {
     14    if ( empty( $menu_perms['plugins'] ) ) {
    1515        if ( ! is_super_admin() )
    1616            wp_die( __( 'Cheatin’ uh?' ) );
Note: See TracChangeset for help on using the changeset viewer.