[wp-trac] [WordPress Trac] #24802: Don't set slug explicitely to null in wp_update_nav_menu_object

WordPress Trac noreply at wordpress.org
Fri Jul 19 15:51:23 UTC 2013


#24802: Don't set slug explicitely to null in wp_update_nav_menu_object
--------------------------+-----------------------------
 Reporter:  Chouby        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Menus         |    Version:  trunk
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 This new ticket is related to #23199, #21950, #5809 (shared terms)

 If a user creates a new nav menu with the same name as an existing term in
 another taxonomy, the term is shared with this other taxonomy. This is
 known and probably not an issue here.

 But when the menu is saved, calling update_term with the slug explicitely
 set to null does modify the (shared) term slug.

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


More information about the wp-trac mailing list