Make WordPress Core


Ignore:
Timestamp:
08/12/2010 11:58:49 PM (14 years ago)
Author:
scribu
Message:

Fix Comments meta box in post editing screen. See #14579

File:
1 edited

Legend:

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

    r15490 r15497  
    461461    wp_nonce_field( 'get-comments', 'add_comment_nonce', false );
    462462    add_filter('manage_edit-comments_columns', 'post_comment_meta_box_thead', 8, 1);
     463    add_filter('manage_edit-comments_sortable_columns', create_function('', 'return array();'), 8);
     464
     465    require_once( './includes/default-list-tables.php' );
     466    $table = new WP_Comments_Table;
    463467?>
    464468
    465469<table class="widefat comments-box fixed" cellspacing="0" style="display:none;">
    466470<thead><tr>
    467     <?php print_column_headers('edit-comments'); ?>
     471    <?php $table->print_column_headers(); ?>
    468472</tr></thead>
    469473<tbody id="the-comment-list" class="list:comment"></tbody>
Note: See TracChangeset for help on using the changeset viewer.