#21470 closed defect (bug) (wontfix)
Wrong menu when no menu is set
Reported by: | porton | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.4 |
Component: | Menus | Keywords: | needs-testing bulk-reopened |
Focuses: | Cc: |
Description
In the case if the admin hasn't created any menu in the dashboard (and so the default menu is shown), some parameters of wp_nav_menu() don't work. I verified that 'container'=>false does not work. Other parameters may no work as well.
Change History (3)
Note: See
TracTickets for help on using
tickets.
The default fallback if no menu was found is
wp_page_menu
. Andwp_page_menu
doesn't support acontainer
arg.Related: #13998