DD32 wrote:
Just a note on this:
It seems setting a depth of 0 currently results in, A depth of zero!,
Ie. You cannot nest comments at all.
I've got a patch to change it from:
<?php if ( $depth < $args['depth'] ) echo
comment_reply_link(array('add_below' => 'div-comment')) ?>
to
<?php if ( 0 == $args['depth'] || $depth < $args['depth'] ) echo
comment_reply_link(array('add_below' => 'div-comment')) ?>
which would result in the result that Ryan was expecting :)
Thanks Ryan and DD32 for explaining this, and then creating the patch
DD32. :D Now, since your patch was committed to Trunk, using this
function in comments.php file:
wp_list_comments(array('depth' => 0));
would allow unlimited Comment Threading, right? Or, what exactly will work to
allow unlimited Threading? Thanks in advance!
_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers