WordPress.org

Make WordPress Core

Changeset 12843


Ignore:
Timestamp:
01/26/2010 05:54:45 PM (10 years ago)
Author:
ryan
Message:

Fix warning. see #11644

File:
1 edited

Legend:

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

    r12830 r12843  
    106106
    107107$menu_perms = get_site_option('menu_items', array());
    108 if ( is_super_admin() || is_multisite() && $menu_perms['plugins'] ) {
     108if ( is_super_admin() || ( is_multisite() && isset($menu_perms['plugins']) && $menu_perms['plugins'] ) ) {
    109109    $menu[65] = array( sprintf( __('Plugins %s'), "<span class='update-plugins count-$update_count'><span class='plugin-count'>" . number_format_i18n($update_count) . "</span></span>" ), 'activate_plugins', 'plugins.php', '', 'menu-top', 'menu-plugins', 'div' );
    110110        $submenu['plugins.php'][5]  = array( __('Installed'), 'activate_plugins', 'plugins.php' );
Note: See TracChangeset for help on using the changeset viewer.