Don't fall back to pages list in the menus widget. props filosofo, fixes #13634.
git-svn-id: https://develop.svn.wordpress.org/trunk@15074 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f96e44e293
commit
ef2a9bacc1
@ -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
Block a user