[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
Sat Jun 19 15:22:58 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: Unassigned
Component: Menus | Version: 3.0
Severity: normal | Keywords: dev-feedback
--------------------------+-------------------------------------------------
[http://codex.wordpress.org/Function_Reference/wp_nav_menu wp_nav_menu]'s
'menu_class' parameter applies the class to the <ul>.
The default fallback function
[http://codex.wordpress.org/Template_Tags/wp_page_menu wp_page_menu]
however, applies 'menu_class' to the <div> enclosing the <ul>.
This can cause inconsistent styles if the style is applied to ul.<menu
class>
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13998>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list