Changeset 23550 for trunk/wp-includes/nav-menu.php
- Timestamp:
- 03/01/2013 03:51:16 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/nav-menu.php
r23416 r23550 128 128 129 129 function get_nav_menu_locations() { 130 return get_theme_mod( 'nav_menu_locations' ); 130 $locations = get_theme_mod( 'nav_menu_locations' ); 131 return ( is_array( $locations ) ) ? $locations : array(); 131 132 } 132 133
Note: See TracChangeset
for help on using the changeset viewer.