[wp-trac] [WordPress Trac] #7901: Walker_Comment fails to pass args to comment_reply_link

WordPress Trac wp-trac at lists.automattic.com
Thu Oct 16 20:15:10 GMT 2008


#7901: Walker_Comment fails to pass args to comment_reply_link
---------------------+------------------------------------------------------
 Reporter:  Otto42   |       Owner:  anonymous
     Type:  defect   |      Status:  new      
 Priority:  normal   |   Milestone:  2.7      
Component:  General  |     Version:  2.7      
 Severity:  normal   |    Keywords:           
---------------------+------------------------------------------------------
 The Walker_Comment's start_el() function needs to pass all the $args,
 merged with the three fields it must send anyway, down to the
 comment_reply_link function, making those fields available to be set in
 the calls to higher level functions.

 For example, when calling wp_list_comments, there's currently no way to
 set the text of the "Reply" link. If the $args were passed along, one
 could simply add a reply_text parameter to the call.

 Essentially, this ia bug because it leaves no way to actually use the args
 of comment_reply_link from the higher level functions.

 Will attach patch shortly.

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


More information about the wp-trac mailing list