[wp-trac] [WordPress Trac] #13345: Cannot create nav menu with name that matches existing term slug

WordPress Trac wp-trac at lists.automattic.com
Tue May 11 15:30:13 UTC 2010


#13345: Cannot create nav menu with name that matches existing term slug
--------------------------+-------------------------------------------------
 Reporter:  ryan          |       Owner:     
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.0
Component:  Menus         |     Version:     
 Severity:  blocker       |    Keywords:     
--------------------------+-------------------------------------------------
 "A term with the slug provided already exists." greets you if you try to
 create a menu that happens to match the slug of an existing term in any
 taxonomy.  [14229] removed the taxonomy arg passed to is_term() so
 'term_slug_exists' is thrown even though the term doesn't exist for the
 nav_menu taxonomy.  We might need to remove passing the slug to
 wp_insert_term() from wp_create_nav_menu().

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


More information about the wp-trac mailing list