[wp-trac] Re: [WordPress Trac] #8204: get_comment_reply_link not working in callback

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 14 16:07:19 GMT 2008


#8204: get_comment_reply_link not working in callback
--------------------------------------------------------+-------------------
 Reporter:  jeremyclark13                               |        Owner:     
     Type:  defect                                      |       Status:  new
 Priority:  normal                                      |    Milestone:  2.7
Component:  Comments                                    |      Version:  2.7
 Severity:  normal                                      |   Resolution:     
 Keywords:  callback, comments, get_comment_reply_link  |  
--------------------------------------------------------+-------------------
Comment (by jeremyclark13):

 Okay I think I figured out the problem.  It looks like the
 {{{$args['depth']}}} isn't working.  If I manually set the max_depth then
 the link shows up.  So if I use code like this then it works.
 {{{<?php echo comment_reply_link(array('depth' => $depth, 'max_depth' =>
 5)); ?>}}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8204#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list