Make WordPress Core

Changeset 11592


Ignore:
Timestamp:
06/17/2009 07:50:38 PM (15 years ago)
Author:
ryan
Message:

More menu fixes

File:
1 edited

Legend:

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

    r11565 r11592  
    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.