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
+4 -4
View File
@@ -14,8 +14,8 @@ if ( ! is_multisite() )
require_once( '../includes/default-list-tables.php' );
$table = new WP_Sites_Table;
$table->check_permissions();
$wp_list_table = new WP_Sites_Table;
$wp_list_table->check_permissions();
$title = __( 'Sites' );
$parent_file = 'sites.php';
@@ -350,7 +350,7 @@ switch ( $action ) {
// List sites
case 'list':
default:
$table->prepare_items();
$wp_list_table->prepare_items();
require_once( '../admin-header.php' );
?>
@@ -378,7 +378,7 @@ switch ( $action ) {
</form>
<form id="form-site-list" action="edit.php?action=allblogs" method="post">
<?php $table->display(); ?>
<?php $wp_list_table->display(); ?>
</form>
</div>