Fix depth inversion. see #7635

git-svn-id: http://svn.automattic.com/wordpress/trunk@8941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-09-19 21:45:01 +00:00
parent dfc1d78fa9
commit b6050e5161
1 changed files with 1 additions and 1 deletions

View File

@ -943,7 +943,7 @@ class Walker_Comment extends Walker {
<?php echo apply_filters('comment_text', get_comment_text()) ?>
<div class='reply'>
<?php echo comment_reply_link(array('add_below' => 'div-comment', 'depth' => $args['depth'], 'max_depth' => $depth)) ?>
<?php echo comment_reply_link(array('add_below' => 'div-comment', 'depth' => $depth, 'max_depth' => $args['depth'])) ?>
<?php if ( 'list' == $args['style'] ) : ?>
</div>
<?php endif; ?>