[wp-trac] [WordPress Trac] #27113: Explicitly assign menu term relationship in wp_update_nav_menu_item() instead of using "tax_input" argument

WordPress Trac noreply at wordpress.org
Wed Feb 12 20:23:10 UTC 2014


#27113: Explicitly assign menu term relationship in wp_update_nav_menu_item()
instead of using "tax_input" argument
-----------------------------+------------------------------
 Reporter:  danielbachhuber  |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Menus            |     Version:  3.0
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+------------------------------
Changes (by danielbachhuber):

 * keywords:  needs-patch => has-patch


Comment:

 27113.1.diff does the trick. The change is covered by existing unit tests.

 For the record, the code didn't and doesn't support updating the
 associated `menu_id` of a menu item.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27113#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list