Show
Ignore:
Timestamp:
08/26/08 04:27:00 (3 months ago)
Author:
ryan
Message:

Menu fixes. see #7552

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-admin/menu-header.php

    r8724 r8735  
    8888 
    8989                if ( file_exists(WP_PLUGIN_DIR . "/{$sub_item[2]}") || ! empty($menu_hook) ) { 
    90                     if ( 'admin.php' == $pagenow
     90                    if ( 'admin.php' == $pagenow || !file_exists(WP_PLUGIN_DIR . "/$parent_file")
    9191                        echo "\n\t\t<li$class><a href='admin.php?page={$sub_item[2]}'$class>{$sub_item[0]}</a></li>"; 
    9292                    else