WordPress.org

Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #19085, comment 4


Ignore:
Timestamp:
10/29/11 22:45:55 (2 years ago)
Author:
mikeschinkel
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19085, comment 4

    v2 v3  
    77Obviously unintended side effects? 
    88 
    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. 
     9BTW, 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.