WordPress.org

Make WordPress Core

Ticket #16594: 16594.diff

File 16594.diff, 536 bytes (added by greuben, 7 years ago)
  • wp-includes/nav-menu-template.php

     
    219219
    220220        $wrap_class = $args->menu_class ? $args->menu_class : '';
    221221
     222        $args->menu = $menu;
    222223        // Allow plugins to hook into the menu to add their own <li>'s
    223224        $items = apply_filters( 'wp_nav_menu_items', $items, $args );
    224225        $items = apply_filters( "wp_nav_menu_{$menu->slug}_items", $items, $args );