WordPress.org

Make WordPress Core

Ticket #14768: nav-menu-template.patch.php

File nav-menu-template.patch.php, 172 bytes (added by jnthnlstr, 4 years ago)
Line 
1163a164,167
2>       
3>       // If the menu doesn't exist, and the theme_location arg is set, bail
4>       if( !$menu && !isset( $locations[ $args->theme_location ] ) )
5>               return false;