Make WordPress Core

Changeset 15074


Ignore:
Timestamp:
05/31/2010 02:15:28 PM (15 years ago)
Author:
nacin
Message:

Don't fall back to pages list in the menus widget. props filosofo, fixes #13634.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/default-widgets.php

    r14924 r15074  
    10731073            echo $args['before_title'] . $instance['title'] . $args['after_title'];
    10741074
    1075         wp_nav_menu( array( 'menu' => $nav_menu ) );
     1075        wp_nav_menu( array( 'fallback_cb' => '', 'menu' => $nav_menu ) );
    10761076
    10771077        echo $args['after_widget'];
Note: See TracChangeset for help on using the changeset viewer.