[wp-trac] [WordPress Trac] #25200: Cannot filter Walker items in Walker_Nav_Menu_Checklist class

WordPress Trac noreply at wordpress.org
Sun Sep 1 01:03:54 UTC 2013


#25200: Cannot filter Walker items in Walker_Nav_Menu_Checklist class
--------------------------+-----------------------------
 Reporter:  maxaud        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Menus         |    Version:  3.6
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 I have a need to filter the URL of a menu item in the nav-menus.php admin
 page.

 The Walker_Nav_Menu class uses the following code to filter the attributes
 which would be great but..

 {{{
 $atts = apply_filters( 'nav_menu_link_attributes', $atts, $item, $args );
 }}}

 .. the Walker_Nav_Menu_Checklist class that generates a checklist doesn't
 filter the links attributes like the Walker_Nav_Menu class.

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


More information about the wp-trac mailing list