Changeset 28836 for trunk/src/wp-includes/nav-menu.php
- Timestamp:
- 06/26/2014 12:56:07 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/nav-menu.php
r28825 r28836 143 143 */ 144 144 function has_nav_menu( $location ) { 145 global $_wp_registered_nav_menus; 146 147 if ( ! isset( $_wp_registered_nav_menus[ $location ] ) ) { 148 return false; 149 } 150 145 151 $locations = get_nav_menu_locations(); 146 152 return ( ! empty( $locations[ $location ] ) );
Note: See TracChangeset
for help on using the changeset viewer.