Changeset 9287
- Timestamp:
- 10/22/2008 08:57:37 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/menu-header.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/menu-header.php
r9286 r9287 94 94 if ( $submenu_file == $sub_item[2] ) 95 95 $class[] = 'current'; 96 } else if ( (isset($plugin_page) && $plugin_page == $sub_item[2]) || (!isset($plugin_page) && $self == $sub_item[2]) ) { 96 // If plugin_page is set the parent must either match the current page or not physically exist. 97 // This allows plugin pages with the same hook to exist under different parents. 98 } else if ( (isset($plugin_page) && $plugin_page == $sub_item[2] && (!file_exists($item[2]) || ($item[2] == $self))) || (!isset($plugin_page) && $self == $sub_item[2]) ) { 97 99 $class[] = 'current'; 98 100 }
Note: See TracChangeset
for help on using the changeset viewer.