WordPress.org

Make WordPress Core

Changeset 14600


Ignore:
Timestamp:
05/13/10 16:44:12 (4 years ago)
Author:
ryan
Message:

s/wp_get_nav_menu_item/walker_nav_menu_start_el/ to be more specific. Pass all start_el() args to the filter. Props tomtomp. fixes #13366

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/nav-menu-template.php

    r14592 r14600  
    102102        $item_output .= $args->after; 
    103103 
    104         $output .= apply_filters( 'wp_get_nav_menu_item', $item_output, $args ); 
     104        $output .= apply_filters( 'walker_nav_menu_start_el', $item_output, $item, $depth, $args ); 
    105105    } 
    106106 
Note: See TracChangeset for help on using the changeset viewer.