Opened 14 years ago
Closed 14 years ago
#14614 closed enhancement (duplicate)
Can't remove container in wp_nav_menu
Reported by: | netweblogic | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.0.1 |
Component: | Menus | Keywords: | menu |
Focuses: | Cc: |
Description
I notice that whether I provide false, null, empty string, etc. the container doesn't get removed if the default fallback method is used
I think it would make sense to add the 'container' option to wp_page_menu so it gets passed on from wp_nav_menu and doesn't break theme HTML:
wp-includes/post-template.php - line 864
$menu = '<div class="' . esc_attr($args['menu_class']) . '">' . $menu . "</div>\n";
Change History (2)
Note: See
TracTickets for help on using
tickets.
#13998