Changes between Version 2 and Version 3 of Ticket #19085, comment 4
- Timestamp:
- 10/29/2011 10:45:55 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #19085, comment 4
v2 v3 7 7 Obviously unintended side effects? 8 8 9 BTW, that is not the only place that takes control of the admin menus. The `_wp_menu_output()` function also outputs things that are different from what's in the global `$submenu` array. I know this because I tried to fix the `$submenu` array in the `'parent_file'` hook , but that only made matters worse.9 BTW, that is not the only place that takes control of the admin menus. The `_wp_menu_output()` function also outputs things that are different from what's in the global `$submenu` array. I know this because I tried to fix the `$submenu` array in the `'parent_file'` hook that gets called before the call to `_wp_menu_output()`, but that only made matters worse.