[wp-trac] [WordPress Trac] #19966: Comment in the 1 level depth makes comment_reply_link() produce nothing
WordPress Trac
wp-trac at lists.automattic.com
Sun Feb 5 04:15:56 UTC 2012
#19966: Comment in the 1 level depth makes comment_reply_link() produce nothing
--------------------------+------------------------------
Reporter: egorpromo | Owner: egorpromo
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: 3.3.1
Severity: normal | Resolution:
Keywords: close |
--------------------------+------------------------------
Changes (by solarissmoke):
* keywords: needs-testing reporter-feedback => close
Comment:
That's how it's supposed to be. The depth should be set to 1 for top-level
comments. In the `Comment_Walker` class the depth argument is bumped at
the beginning of each loop - you should be doing the same in your custom
class.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19966#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list