This morning I transferred a site from one server (development) to another server (production). I'm currently QA'ing and noticed an issue with the main nav: the "home" button is not highlighted on the homepage, but was on the previous server.
I'm using a home.php file as the homepage (FYI: Settings > Reading > front page displays set to "your latest posts"). I'm also using the built-in menu tool for this main nav:
<?php wp_nav_menu( array('menu' => 'Main Menu' )); ?>
For the the home nav button within the "Menus" admin, I'm using a "Custom Links" button with the URL set to the new domain (http://newsite.com).
Looking at the source code for the homepage, it looks like the list item is not being set to "current". Right now, it appears as:
<li id="menu-item-47" class="first menu-item menu-item-type-custom">
Previously, I believe it appeared as:
<li id="menu-item-47" class="first menu-item menu-item-type-custom current_page_item">
Thus providing me the hook (current_page_item) to highlight it.
Any help would be appreciated.