WordPress.org

Make WordPress Core

Ticket #13553: no-default-value.13553.diff

File no-default-value.13553.diff, 560 bytes (added by filosofo, 8 years ago)
  • wp-includes/nav-menu-template.php

     
    296296 *
    297297 * @param array $menu_items The current menu item objects to which to add the class property information.
    298298 */
    299 function _wp_menu_item_classes_by_context( &$menu_items = array() ) {
     299function _wp_menu_item_classes_by_context( &$menu_items ) {
    300300        global $wp_query;
    301301
    302302        $queried_object = $wp_query->get_queried_object();