Make WordPress Core


Ignore:
Timestamp:
12/22/2010 07:03:43 PM (14 years ago)
Author:
ryan
Message:

Fix comment manipulation on edit post screen. Props garyc40. fixes #15876

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/meta-boxes.php

    r17088 r17113  
    489489
    490490    $wp_list_table = get_list_table('WP_Post_Comments_List_Table');
    491 ?>
    492 
    493 <table class="widefat comments-box fixed" cellspacing="0" style="display:none;">
    494 <thead><tr>
    495     <?php $wp_list_table->print_column_headers(); ?>
    496 </tr></thead>
    497 <tbody id="the-comment-list" class="list:comment"></tbody>
    498 </table>
     491    $wp_list_table->display( true );
     492?>
    499493<p class="hide-if-no-js"><a href="#commentstatusdiv" id="show-comments" onclick="commentsBox.get(<?php echo $total; ?>);return false;"><?php _e('Show comments'); ?></a> <img class="waiting" style="display:none;" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" /></p>
    500494<?php
Note: See TracChangeset for help on using the changeset viewer.