[wp-trac] [WordPress Trac] #23836: add_submenu_page() duplicate menus

WordPress Trac noreply at wordpress.org
Thu Mar 21 16:43:25 UTC 2013


#23836: add_submenu_page() duplicate menus
------------------------------+--------------------------
 Reporter:  king_of_the_ring  |       Type:  defect (bug)
   Status:  new               |   Priority:  normal
Milestone:  Awaiting Review   |  Component:  Menus
  Version:                    |   Severity:  major
 Keywords:                    |
------------------------------+--------------------------
 Creating two sub-menus with the same "menu slug" using add_submenu_page()
 should create only the last sub-menu.
 But it creates two sub-menus with the same "menu slug".

 Based on documentation "menu slug" should be unique for each sub-menu.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23836>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list