Introduce get_list_table(). See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -9,9 +9,7 @@
|
||||
/** WordPress Administration Bootstrap */
|
||||
require_once( './admin.php' );
|
||||
|
||||
require_once( './includes/default-list-tables.php' );
|
||||
|
||||
$wp_list_table = new WP_Posts_Table;
|
||||
$wp_list_table = get_list_table('posts');
|
||||
$wp_list_table->check_permissions();
|
||||
|
||||
// Back-compat for viewing comments of an entry
|
||||
|
||||
Reference in New Issue
Block a user