#3285 closed enhancement (worksforme)
add_menu_page + add_submenu_page bug
| Reported by: | arena | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | Administration | Version: | 2.0.4 |
| Severity: | minor | Keywords: | |
| Cc: | Focuses: |
Description
You will find in the attached file, the results of my coding.
I am trying to have a menu and submenus like the 'Link' one
I attached pictures to show what is the result.
The codex doc is not accurate. (see 'On1' & 'On2' strings and how they are displayed (sic !))
Adding submenus to new menu makes the menu a submenu ???
But Wordpress IS a wonderful tool, congratulations to every one. indeed !
Attachments (1)
Change History (5)
Note:
See TracTickets
for help on using tickets.
I'm lost on what you're trying to do. Are you trying to make a top level menu and then have the first tab under it a different name than the top level menu? If so, you can't currently do that. When you make a new top level menu, it automatically creates a sub-menu with the same title under it so that there is something there for sure.
For
add_menu_page(), the first parameter is for the tab name, the 2nd is for the<title>.Simply put, no bugs here, just a feature request it looks like.