Pass args from Walker to comment_reply_link(). Props Otto42. fixes #7901

git-svn-id: http://svn.automattic.com/wordpress/trunk@9209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-10-16 20:22:53 +00:00
parent 2a2b7d4de2
commit 372a721fe0
1 changed files with 1 additions and 1 deletions

View File

@ -1084,7 +1084,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' => $add_below, 'depth' => $depth, 'max_depth' => $args['depth'])) ?>
<?php echo comment_reply_link(array_merge( $args, array('add_below' => $add_below, 'depth' => $depth, 'max_depth' => $args['depth']))) ?>
<?php if ( 'ul' == $args['style'] ) : ?>
</div>
<?php endif; ?>