Opened 6 years ago
Closed 4 years ago
#3751 closed defect (bug) (invalid)
Wrong menu in added Admin panel
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 2.1 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
When you add two or more submenus on Admin panel by a plugin, say "Page One" on "Write" menu and "Page Two" on "Manage" menu, the menu of the Page Two incorrectly shows "Write - Page One".
This behavior can be easily reproduced by using attached test plugin.
It seems that this is caused in get_admin_page_parent() in wp-admin/admin-functions.php. I made an ad hoc patch and it works for me.
Ticket #1447 also mentioned this, mainly about get_admin_page_title() though.
Attachments (2)
Change History (7)
takayukister — 6 years ago
comment:1
foolswisdom — 6 years ago
- Milestone changed from 2.3 to 2.2
comment:3
foolswisdom — 6 years ago
- Milestone changed from 2.2 to 2.3
comment:4
markjaquith — 6 years ago
- Milestone changed from 2.3 to 2.4 (next)
All in favor of completely redoing our crazy menu system so that it makes sense?
(Aye)
Note: See
TracTickets for help on using
tickets.

The problem can be reproduced by this plugin.