Methods
1 to 11 of 11
- Tests_Nav_Menu_Theme_Change::register_nav_menu_locations() – Register nav menu locations.
- Tests_Nav_Menu_Theme_Change::setUp() – Set up.
- Tests_Nav_Menu_Theme_Change::test_filter_registered_locations() – Only registered locations should be mapped and returned.
- Tests_Nav_Menu_Theme_Change::test_location_guessing_one_menu_per_group() – Make sure two locations that fall in the same group don’t get the same menu assigned.
- Tests_Nav_Menu_Theme_Change::test_location_guessing_one_menu_per_location() – Make sure two locations that fall in the same group get menus assigned from the same group.
- Tests_Nav_Menu_Theme_Change::test_location_guessing() – Make educated guesses on theme locations.
- Tests_Nav_Menu_Theme_Change::test_locations_with_same_slug() – Locations with the same name should map, switching to a theme not previously-active.
- Tests_Nav_Menu_Theme_Change::test_new_theme_previously_active() – If the new theme was previously active, we should honor any changes to nav menu mapping done when the other theme was active.
- Tests_Nav_Menu_Theme_Change::test_numerical_locations() – Technically possible to register menu locations numerically.
- Tests_Nav_Menu_Theme_Change::test_numerical_old_locations() – Technically possible old nav menu locations were registered numerically.
- Tests_Nav_Menu_Theme_Change::test_one_location_each() – Two themes with one location each should just map, switching to a theme not previously-active.