wordpress-develop/tests/phpunit/tests/menu
Konstantin Obenland d339af1bc1 Map nav menu locations on theme switch
This will send nav menu locations through three levels of mapping:
1. If both themes have only one location, that gets mapped.
2. If both themes have locations with the same slug, they get mapped.
3. Locations that (even partially) match slugs from a similar kind of menu location will get mapped.

Menu locations are mapped for Live Previews in the Customizer and during theme switches.

Props westonruter, obenland, welcher, melchoyce.
Fixes #39692.



git-svn-id: https://develop.svn.wordpress.org/trunk@41237 602fd350-edb4-49c9-b593-d223f7449a82
2017-08-09 21:03:16 +00:00
..
nav-menu.php Map nav menu locations on theme switch 2017-08-09 21:03:16 +00:00
walker-nav-menu-edit.php Nav Menus: In Walker_Nav_Menu_Edit::start_el() initialize $original_title with false. 2016-07-04 20:15:48 +00:00
wpAjaxMenuQuickSearch.php Docs: Fix phpdoc and jsdoc typos introduced in [38584] and [38587], respectively. 2016-09-11 18:45:59 +00:00
wpExpandNavMenuPostData.php Menus: Support nested array variables in POST data when saving menus. 2016-06-19 12:24:23 +00:00