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:
nacin 2010-05-31 14:15:28 +00:00
parent f73a8ed7fc
commit 982f8a95f1
1 changed files with 1 additions and 1 deletions

View File

@ -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'];
}