mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Fallback to wp_page_menu() from wp_nav_menu() if no menus are setup. Use wp_nav_menu() in twentyten. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13368 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -30,7 +30,7 @@ require_once('admin-header.php');
|
||||
require_once(ABSPATH . 'wp-admin/includes/nav-menu.php');
|
||||
|
||||
function wp_reset_nav_menu() {
|
||||
wp_custom_navigation_setup(true);
|
||||
wp_nav_menu_setup(true);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user