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

git-svn-id: https://develop.svn.wordpress.org/trunk@14600 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2010-05-13 16:44:12 +00:00
parent 0a38355cce
commit e628d300b0
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ class Walker_Nav_Menu extends Walker {
$item_output .= '</a>';
$item_output .= $args->after;
$output .= apply_filters( 'wp_get_nav_menu_item', $item_output, $args );
$output .= apply_filters( 'walker_nav_menu_start_el', $item_output, $item, $depth, $args );
}
/**