[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:54:27 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:
-----------------------------+------------------------------

Comment (by danielbachhuber):

 > I believe you, but it's not obvious why this is the case. Could you
 explain?

 Good thing you asked :) I misread the conditional. It supported updating
 before if the previous item was an orphan. I've updated the patch, and
 added a test case.

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


More information about the wp-trac mailing list