Make WordPress Core


Ignore:
Timestamp:
06/15/2009 12:23:13 AM (16 years ago)
Author:
ryan
Message:

Menu fixes

File:
1 edited

Legend:

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

    r11450 r11566  
    945945    }
    946946
     947    if ( isset( $plugin_page ) && ( $plugin_page == $parent ) && isset( $_wp_menu_nopriv[$plugin_page] ) )
     948        return false;
     949
    947950    if ( isset( $submenu[$parent] ) ) {
    948951        foreach ( $submenu[$parent] as $submenu_array ) {
Note: See TracChangeset for help on using the changeset viewer.