#9426 closed defect (bug) (worksforme)
Submenu Output does not recorgnize Selection properly if the parameter does not end with .php
| Reported by: |  | Owned by: |  | 
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | Menus | Keywords: | |
| Focuses: | Cc: | 
Description
Adding a submenu (API: add_submenu_page() ) needs the $file parameter to be a string ending with '.php'. If not, highlighting the current submenu selection in the Backend will fail.
Additionally it came to my attention that the functions docblock is missing (wp-admin/includes/plugin.php ~648).
Because of this, it is unclear where the bug is located. In the API function (documentation) or in the output function for that menu (currently unknown where that is located for me).
Attachments (1)
Change History (6)
Note: See
        TracTickets for help on using
        tickets.
    
can you confirm this in trunk? I haven't noticed this with any of my plugins that add submenus without a .php extension.