show_home not working on wp_page_menu
|Reported by:||brasofilo||Owned by:||lancewillett|
As reported here, this function call doesn't returns the expected output:
wp_page_menu( array( 'show_home' => 'Hjem', 'sort_column' => 'menu_order' ) );
Looks like show_home is being ignored. It keeps outputting "Home" instead of the custom text and even setting it as false doesn't behave as expected.
If the filter wp_page_menu_args is used, wp_page_menu works correctly.
Tested in WordPress 3.4.2 and 3.5-beta2, no active plugins, using TwentyEleven.
Change History (6)
4 years ago
- Component changed from General to Bundled Theme
- Keywords has-patch added
- Milestone changed from Awaiting Review to 3.5