Don't fall back to pages list in the menus widget. props filosofo, fixes #13634.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f73a8ed7fc
commit
982f8a95f1
|
@ -1072,7 +1072,7 @@ class WP_Widget_Tag_Cloud extends WP_Widget {
|
|||
if ( !empty($instance['title']) )
|
||||
echo $args['before_title'] . $instance['title'] . $args['after_title'];
|
||||
|
||||
wp_nav_menu( array( 'menu' => $nav_menu ) );
|
||||
wp_nav_menu( array( 'fallback_cb' => '', 'menu' => $nav_menu ) );
|
||||
|
||||
echo $args['after_widget'];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue