#8018 closed defect (bug) (fixed)
$r['depth'] during the wp_list_comments should be $r['max_depth']
| Reported by: | ShaneF | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.7 |
| Component: | Themes | Version: | 2.7 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [9424]) depth during the wp_list_comments should be max_depth. Props ShaneF. fixes #8018