replace $table with $wp_list_table. See #14651

git-svn-id: https://develop.svn.wordpress.org/trunk@15519 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
scribu
2010-08-22 11:22:46 +00:00
parent b96c92620d
commit 1c4aeef40e
18 changed files with 111 additions and 112 deletions
+2 -2
View File
@@ -463,12 +463,12 @@ function post_comment_meta_box($post) {
add_filter('manage_edit-comments_sortable_columns', create_function('', 'return array();'), 8);
require_once( './includes/default-list-tables.php' );
$table = new WP_Comments_Table;
$wp_list_table = new WP_Comments_Table;
?>
<table class="widefat comments-box fixed" cellspacing="0" style="display:none;">
<thead><tr>
<?php $table->print_column_headers(); ?>
<?php $wp_list_table->print_column_headers(); ?>
</tr></thead>
<tbody id="the-comment-list" class="list:comment"></tbody>
</table>