[wp-trac] [WordPress Trac] #16594: inconsistency in wp_nav_menu_items

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 20 17:34:11 UTC 2011


#16594: inconsistency in wp_nav_menu_items
-------------------------+------------------------------
 Reporter:  thomask      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Menus        |     Version:  3.0
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |
-------------------------+------------------------------
Changes (by nacin):

 * keywords:   => needs-patch
 * version:  3.1 => 3.0
 * type:  defect (bug) => enhancement


Comment:

 > If it is not the expected behavior then adding $args->menu = $menu; in
 wp_nav_menu function in wp-includes/nav-menu-template.php fixes it.

 That sounds like a good enhancement.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16594#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list