#8018 closed defect (bug) (fixed)
$r['depth'] during the wp_list_comments should be $r['max_depth']
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 2.7 | Priority: | normal |
| Severity: | normal | Version: | 2.7 |
| Component: | Themes | Keywords: | |
| Focuses: | Cc: |
Description
After a lengthy discussion on IRC (http://wordpress-dev.chanlogs.automattic.com/?ym=2008-10&file=wordpress-dev@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' => $argsdepth? as this patch aims to keep that away. You can always override max_depth using an argument or change the settings themselves.
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
(In [9424]) depth? during the wp_list_comments should be max_depth?. Props ShaneF. fixes #8018