[wp-trac] [WordPress Trac] #3751: Wrong menu in added Admin panel
WordPress Trac
wp-trac at lists.automattic.com
Mon Feb 5 13:08:23 GMT 2007
#3751: Wrong menu in added Admin panel
----------------------------+-----------------------------------------------
Reporter: takayukister | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.3
Component: Administration | Version: 2.1
Severity: normal | Keywords: menu submenu admin plugin
----------------------------+-----------------------------------------------
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.
[http://trac.wordpress.org/ticket/1447 Ticket #1447] also mentioned this,
mainly about get_admin_page_title() though.
--
Ticket URL: <http://trac.wordpress.org/ticket/3751>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list