Make WordPress Core

Ticket #7980: comment_patches.diff

File comment_patches.diff, 1.1 KB (added by filosofo, 16 years ago)
  • wp-includes/comment-template.php

     
    10871087
    10881088                <div class="comment-meta commentmetadata"><a href="#comment-<?php comment_ID() ?>" title=""><?php printf(__('%1$s at %2$s'), get_comment_date('F jS, Y'),  get_comment_time()) ?></a><?php edit_comment_link('edit','&nbsp;&nbsp;','') ?></div>
    10891089
    1090                 <?php echo apply_filters('comment_text', get_comment_text()) ?>
     1090                <?php comment_text() ?>
    10911091
    10921092                <div class="reply">
    10931093                <?php echo comment_reply_link(array_merge( $args, array('add_below' => $add_below, 'depth' => $depth, 'max_depth' => $args['depth']))) ?>
     1094                </div>
    10941095                <?php if ( 'ul' == $args['style'] ) : ?>
    10951096                </div>
    10961097                <?php endif; ?>
    1097                 </div>
    10981098<?php
    10991099        }
    11001100
     
    11751175        if ( 0 == $r['page'] && 0 != $r['per_page'] )
    11761176                $r['page'] = 1;
    11771177
    1178         if ( '' == $r['reverse_top_level'] )
     1178        if ( ! isset( $r['reverse_top_level'] ) )
    11791179                $r['reverse_top_level'] = ( 'asc' == get_option('comment_order') ) ? FALSE : TRUE;
    11801180
    11811181        extract( $r, EXTR_SKIP );
     
    12131213        }
    12141214}