[wp-trac] [WordPress Trac] #13366: Enhance item filtering capabilities on walk_nav_menu_tree

WordPress Trac wp-trac at lists.automattic.com
Wed May 12 10:54:36 UTC 2010


#13366: Enhance item filtering capabilities on walk_nav_menu_tree
-------------------------+--------------------------------------------------
 Reporter:  tomtomp      |       Owner:     
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.0
Component:  Menus        |     Version:  3.0
 Severity:  normal       |    Keywords:     
-------------------------+--------------------------------------------------
 Could it be possible in "wp-includes/nav-menu-template.php" at line 104 to
 change :

 $output .= apply_filters( 'wp_get_nav_menu_item', $item_output, $args);

 for:

 $output .= apply_filters( 'wp_get_nav_menu_item', $item_output, $args,
 $item );

 so it will possible to insert information (item ID, alt, ...) trough
 sprintf before or after item

 Thanks

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13366>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list