mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -14,8 +14,8 @@ require_once( ABSPATH . WPINC . '/registration.php');
|
||||
|
||||
require_once( './includes/default-list-tables.php' );
|
||||
|
||||
$table = new WP_Users_Table;
|
||||
$table->check_permissions();
|
||||
$wp_list_table = new WP_Users_Table;
|
||||
$wp_list_table->check_permissions();
|
||||
|
||||
$title = __('Users');
|
||||
$parent_file = 'users.php';
|
||||
@@ -308,7 +308,7 @@ default:
|
||||
exit;
|
||||
}
|
||||
|
||||
$table->prepare_items();
|
||||
$wp_list_table->prepare_items();
|
||||
|
||||
include('./admin-header.php');
|
||||
|
||||
@@ -412,7 +412,7 @@ unset($role_links);
|
||||
</form>
|
||||
|
||||
<form id="posts-filter" action="" method="post">
|
||||
<?php $table->display(); ?>
|
||||
<?php $wp_list_table->display(); ?>
|
||||
</form>
|
||||
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user