[wp-trac] [WordPress Trac] #14439: Unable to get a post associated menu items for a specific menu

WordPress Trac noreply at wordpress.org
Mon Feb 9 09:52:22 UTC 2015


#14439: Unable to get a post associated menu items for a specific menu
--------------------------+-----------------------------
 Reporter:  DreadLox      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Menus         |     Version:  3.1
 Severity:  major         |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------
Changes (by tyxla):

 * keywords:  needs-refresh => has-patch


Comment:

 This can be useful in some situations, so I believe it should go into the
 core.

 I've just refreshed the patch. The new patch is compatible with the latest
 function version (a `$taxonomy` parameter was added in #15264), and in
 addition to the previous patch takes care of the following:

 * Check for invalid menu ID
 * Updated documentation
 * Unit test case for correct usage of the new `$menu_id` parameter.
 * Unit test case for incorrect usage of the new `$menu_id` parameter.

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


More information about the wp-trac mailing list