[wp-trac] [WordPress Trac] #12618: Argument Continuity in wp_nav_menu

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 16 22:24:19 UTC 2010


#12618: Argument Continuity in wp_nav_menu
--------------------------+-------------------------------------------------
 Reporter:  thee17        |       Owner:  ryan
     Type:  defect (bug)  |      Status:  new 
 Priority:  high          |   Milestone:  3.0 
Component:  Menus         |     Version:  3.0 
 Severity:  normal        |    Keywords:      
--------------------------+-------------------------------------------------
 the new function wp_nav_menu() uses inconsistent $arg names to the rest of
 the wp_list_ functions.

 before_link - Output text before the link.
 after_link - Output text after the link.
 before_title - Output text before the link text.
 after_title - Output text after the link text.

 elsewhere it is

 before - Output text before the link.
 after - Output text after the link.
 link_before - Output text before the link text.
 link_after - Output text after the link text.

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


More information about the wp-trac mailing list