[wp-trac] [WordPress Trac] #23836: add_submenu_page() duplicate menus
WordPress Trac
noreply at wordpress.org
Thu Apr 4 03:22:08 UTC 2013
#23836: add_submenu_page() duplicate menus
------------------------------+------------------------------
Reporter: king_of_the_ring | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version:
Severity: major | Resolution:
Keywords: |
------------------------------+------------------------------
Comment (by nacin):
While it should be unique, I don't think the behavior you're seeing is
necessarily a bug. The function is "add", not "update". If you want to
replace a menu, remove it then add it.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23836#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list