Changeset 45588 for trunk/tests/phpunit/tests/menu/nav-menu.php
- Timestamp:
- 07/02/2019 04:43:01 AM (7 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/menu/nav-menu.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/menu/nav-menu.php
r44167 r45588 55 55 function test_filter_registered_locations() { 56 56 $this->register_nav_menu_locations( array( 'primary', 'secondary' ) ); 57 $ old_next_theme_nav_menu_locations = $prev_theme_nav_menu_locations= array(57 $prev_theme_nav_menu_locations = array( 58 58 'primary' => 1, 59 59 'secondary' => 2, 60 60 'social' => 3, 61 61 ); 62 $old_next_theme_nav_menu_locations = $prev_theme_nav_menu_locations; 62 63 $new_next_theme_nav_menu_locations = wp_map_nav_menu_locations( $old_next_theme_nav_menu_locations, $prev_theme_nav_menu_locations ); 63 64
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)