Wrong menu in added Admin panel
|Reported by:||takayukister||Owned by:|
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.