WordPress.org

Make WordPress Core

Ticket #14856: twenty_ten tweak to demo new param.diff

File twenty_ten tweak to demo new param.diff, 675 bytes (added by simonwheatley, 4 years ago)
  • wp-content/themes/twentyten/functions.php

     
    319319                        ?> 
    320320                </div><!-- .comment-meta .commentmetadata --> 
    321321 
    322                 <div class="comment-body"><?php comment_text(); ?></div> 
     322                <div class="comment-body"><?php comment_text( null, array_merge( $args, array( 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?></div> 
    323323 
    324324                <div class="reply"> 
    325325                        <?php comment_reply_link( array_merge( $args, array( 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>