Changeset 19048
- Timestamp:
- 10/23/2011 06:45:06 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/menu-header.php
r18942 r19048 127 127 $self_type = ! empty( $typenow ) ? $self . '?post_type=' . $typenow : 'nothing'; 128 128 129 if ( isset( $submenu_file ) && $submenu_file == $sub_item[2] ) { 130 $class[] = 'current'; 129 if ( isset( $submenu_file ) ) { 130 if ( $submenu_file == $sub_item[2] ) 131 $class[] = 'current'; 131 132 // If plugin_page is set the parent must either match the current page or not physically exist. 132 133 // This allows plugin pages with the same hook to exist under different parents.
Note: See TracChangeset
for help on using the changeset viewer.