[wp-trac] [WordPress Trac] #13138: Show warning if the menu name already exists

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 27 10:40:45 UTC 2010


#13138: Show warning if the menu name already exists
--------------------------+-------------------------------------------------
 Reporter:  ocean90       |       Owner:  filosofo
     Type:  defect (bug)  |      Status:  new     
 Priority:  normal        |   Milestone:  3.0     
Component:  Menus         |     Version:  3.0     
 Severity:  normal        |    Keywords:          
--------------------------+-------------------------------------------------

Comment(by ocean90):

 There is somethink similar:[[BR]]

 Create a menu with name '''1''' and a menu with name '''2''', after that
 change the name of '''2''' to '''1'''. The name of menu '''2''' should be
 now''' 1'''.

 If you change the name, you should also get this warning:

 {{{
 Notice: Undefined index: menu-item-db-id in H:\xampplite\htdocs\wp\wp-
 admin\nav-menus.php  on line 232
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13138#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list