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: http://svn.automattic.com/wordpress/trunk@14600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-05-13 16:44:12 +00:00
parent c53efdc053
commit 531feae685

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 );
}
/**