#2994 closed enhancement (fixed)
bp_dtheme_main_nav() duplicates show_home parameter for wp_page_menu()
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 1.5 | Priority: | normal |
| Severity: | Version: | ||
| Component: | Templates | Keywords: | |
| Cc: |
Description
The bp_dtheme_main_nav(), which is the navigation menu fallback for when custom menus aren't set up, duplicates the functionality of the show_home parameter for wp_page_menu().
We should switch to the way that the home nav item is added to the Twenty Ten nav bar to standardise and reduce complexity of our code.
Change History (2)
Note: See
TracTickets for help on using
tickets.
(In [3653]) Use wp_page_menu's show_home parameter to create the "home" item in the main nav. Fixes #2994