Changeset 46102 for trunk/src/wp-includes/nav-menu.php
- Timestamp:
- 09/13/2019 05:57:57 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/nav-menu.php
r45932 r46102 92 92 93 93 add_theme_support( 'menus' ); 94 95 foreach ( $locations as $key => $value ) { 96 if ( is_int( $key ) ) { 97 _doing_it_wrong( __FUNCTION__, __( 'Nav menu locations must be strings.' ), '5.3' ); 98 break; 99 } 100 } 94 101 95 102 $_wp_registered_nav_menus = array_merge( (array) $_wp_registered_nav_menus, $locations );
Note: See TracChangeset
for help on using the changeset viewer.