Introduce get_list_table(). See #14579

git-svn-id: https://develop.svn.wordpress.org/trunk@15528 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
scribu
2010-08-25 00:51:44 +00:00
parent c521615314
commit 76ac1c93a8
17 changed files with 46 additions and 60 deletions
+1 -2
View File
@@ -462,8 +462,7 @@ function post_comment_meta_box($post) {
add_filter('manage_edit-comments_columns', 'post_comment_meta_box_thead', 8, 1);
add_filter('manage_edit-comments_sortable_columns', create_function('', 'return array();'), 8);
require_once( './includes/default-list-tables.php' );
$wp_list_table = new WP_Comments_Table;
$wp_list_table = get_list_table('comments');
?>
<table class="widefat comments-box fixed" cellspacing="0" style="display:none;">