[wp-trac] [WordPress Trac] #13998: Inconsistency in arguments when wp_nav_menu falls back to wp_page_menu

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 5 08:55:26 UTC 2010


#13998: Inconsistency in arguments when wp_nav_menu falls back to wp_page_menu
--------------------------+-------------------------------------------------
 Reporter:  Utkarsh       |       Owner:             
     Type:  defect (bug)  |      Status:  new        
 Priority:  normal        |   Milestone:  3.1        
Component:  Menus         |     Version:  3.0        
 Severity:  normal        |    Keywords:  needs-patch
--------------------------+-------------------------------------------------
Changes (by nacin):

  * keywords:  dev-feedback has-patch => needs-patch


Comment:

 We can't change how wp_page_menu() works. We'll need to add a ul_class
 argument to wp_page_menu and re-map menu_class to ul_class in wp_nav_menu
 before passing it to wp_page_menu.

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


More information about the wp-trac mailing list