mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 20:54:29 +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:
@@ -1126,7 +1126,7 @@ class WP_Widget_Tag_Cloud extends WP_Widget {
|
||||
<?php
|
||||
//DISPLAY custom navigation menu
|
||||
if ( get_option('wp_custom_nav_menu') == 'true' )
|
||||
wp_nav_menu( array('id' => $navmenu, 'name' => $wp_custom_nav_menu_name, 'desc' => $navwidgetdescription) );
|
||||
wp_nav_menu( array('id' => $navmenu, 'name' => $wp_custom_nav_menu_name, 'desc' => $navwidgetdescription, 'format' => 'widget') );
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user