Changeset 25332
- Timestamp:
- 09/10/2013 11:29:04 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/default-widgets.php
r25298 r25332 1135 1135 1136 1136 // Get menus 1137 $menus = get_terms( 'nav_menu', array( 'hide_empty' => false) );1137 $menus = wp_get_nav_menus( array( 'orderby' => 'name' ) ); 1138 1138 1139 1139 // If no menus exists, direct the user to go and create some.
Note: See TracChangeset
for help on using the changeset viewer.