[wp-trac] [WordPress Trac] #8018: $r['depth'] during the wp_list_comments should be $r['max_depth']

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 31 02:55:34 GMT 2008


#8018: $r['depth'] during the wp_list_comments should be $r['max_depth']
--------------------+-------------------------------------------------------
 Reporter:  ShaneF  |       Owner:     
     Type:  defect  |      Status:  new
 Priority:  normal  |   Milestone:  2.7
Component:  Themes  |     Version:  2.7
 Severity:  normal  |    Keywords:     
--------------------+-------------------------------------------------------
 After a lengthy discussion on IRC (http://wordpress-
 dev.chanlogs.automattic.com/?ym=2008-10&file=wordpress-dev at 2008-10-31)
 about the difference between depth and max_depth when it comes to the
 number of nested items max_depth will be better in the long run when it
 comes to keeping everything straight.

 In customer callbacks during the wp_list_comments part, you can remove
 'depth' => $args['depth'] as this patch aims to keep that away. You can
 always override max_depth using an argument or change the settings
 themselves.

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


More information about the wp-trac mailing list