Changeset 4478 for trunk/wp-admin/menu-header.php
- Timestamp:
- 11/18/2006 06:09:48 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/menu-header.php
r4443 r4478 4 4 $self = preg_replace('|^.*/plugins/|i', '', $self); 5 5 6 get_admin_page_parent(); 6 foreach ( $submenu as $parent => $subpages ) { 7 foreach ( $subpages as $page ) { 8 // 0 menu title, 1 cap, 2 file or slug, 3 page title 9 if ( $self == $page[2] ) 10 $parent_file = $parent; 11 } 12 } 7 13 8 14 foreach ($menu as $item) {
Note: See TracChangeset
for help on using the changeset viewer.