WordPress.org

Make WordPress Core

Changeset 11593


Ignore:
Timestamp:
06/17/2009 07:51:09 PM (9 years ago)
Author:
ryan
Message:

More menu fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.8/wp-admin/includes/plugin.php

    r11566 r11593  
    936936        if ( isset( $plugin_page ) && isset( $_wp_submenu_nopriv[$pagenow][$plugin_page] ) )
    937937            return false;
     938        if ( isset( $plugin_page ) && isset( $_wp_menu_nopriv[$plugin_page] ) )
     939            return false;
    938940        foreach (array_keys( $_wp_submenu_nopriv ) as $key ) {
    939941            if ( isset( $_wp_submenu_nopriv[$key][$pagenow] ) )
Note: See TracChangeset for help on using the changeset viewer.