Quick question about the behavior of the wp_nav_menu function. The codex says :
Given a theme_location parameter, the function displays the menu assigned to that location, or nothing if no such location exists or no menu is assigned to it.
If not given a theme_location parameter, the function displays
* the menu matching the ID, slug, or name given by the menu parameter, if that menu has at least 1 item;
In my experiments however, “menu” seems to be taking precedence over “theme_location” if both are declared. The following code outputs the “Primary Navigation” menu as defined via the admin panel, not the menu actually associated with the registered “footer_menu” location in said panel.