complete the renaming. props ocean90. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
836ec33dca
commit
3ded7f7c68
|
@ -518,7 +518,7 @@ case 'add-tag' :
|
|||
if ( isset($_POST['screen']) )
|
||||
set_current_screen($_POST['screen']);
|
||||
|
||||
$wp_list_table = get_list_table('WP_Terms_List_Table');
|
||||
$wp_list_table = get_list_table('WP_List_Table_Terms');
|
||||
|
||||
$level = 0;
|
||||
if ( is_taxonomy_hierarchical($taxonomy) ) {
|
||||
|
@ -582,7 +582,7 @@ case 'add-comment' :
|
|||
if ( !current_user_can( 'edit_posts' ) )
|
||||
die('-1');
|
||||
|
||||
$wp_list_table = get_list_table('WP_Comments_List_Table');
|
||||
$wp_list_table = get_list_table('WP_List_Table_Comments');
|
||||
$wp_list_table->from_ajax = true;
|
||||
|
||||
$wp_list_table->prepare_items();
|
||||
|
@ -611,7 +611,7 @@ case 'get-comments' :
|
|||
if ( !current_user_can( 'edit_post', $post_ID ) )
|
||||
die('-1');
|
||||
|
||||
$wp_list_table = get_list_table('WP_Post_Comments_List_Table');
|
||||
$wp_list_table = get_list_table('WP_List_Table_Post_Comments');
|
||||
|
||||
$wp_list_table->prepare_items();
|
||||
|
||||
|
@ -636,7 +636,7 @@ case 'get-comments' :
|
|||
case 'replyto-comment' :
|
||||
check_ajax_referer( $action, '_ajax_nonce-replyto-comment' );
|
||||
|
||||
$wp_list_table = get_list_table('WP_Comments_List_Table');
|
||||
$wp_list_table = get_list_table('WP_List_Table_Comments');
|
||||
$wp_list_table->checkbox = ( isset($_POST['checkbox']) && true == $_POST['checkbox'] ) ? 1 : 0;
|
||||
|
||||
$comment_post_ID = (int) $_POST['comment_post_ID'];
|
||||
|
@ -717,7 +717,7 @@ case 'edit-comment' :
|
|||
$comments_status = isset($_POST['comments_listing']) ? $_POST['comments_listing'] : '';
|
||||
|
||||
$checkbox = ( isset($_POST['checkbox']) && true == $_POST['checkbox'] ) ? 1 : 0;
|
||||
$wp_list_table = get_list_table( $checkbox ? 'WP_Comments_List_Table' : 'WP_Post_Comments_List_Table' );
|
||||
$wp_list_table = get_list_table( $checkbox ? 'WP_List_Table_Comments' : 'WP_List_Table_Post_Comments' );
|
||||
|
||||
ob_start();
|
||||
$wp_list_table->single_row( get_comment( $comment_id ) );
|
||||
|
@ -894,7 +894,7 @@ case 'add-user' :
|
|||
}
|
||||
$user_object = new WP_User( $user_id );
|
||||
|
||||
$wp_list_table = get_list_table('WP_Users_List_Table');
|
||||
$wp_list_table = get_list_table('WP_List_Table_Users');
|
||||
|
||||
$x = new WP_Ajax_Response( array(
|
||||
'what' => 'user',
|
||||
|
@ -1193,7 +1193,7 @@ case 'inline-save':
|
|||
// update the post
|
||||
edit_post();
|
||||
|
||||
$wp_list_table = get_list_table('WP_Posts_List_Table');
|
||||
$wp_list_table = get_list_table('WP_List_Table_Posts');
|
||||
|
||||
$mode = $_POST['post_view'];
|
||||
$wp_list_table->display_rows( array( get_post( $_POST['post_ID'] ) ) );
|
||||
|
@ -1203,7 +1203,7 @@ case 'inline-save':
|
|||
case 'inline-save-tax':
|
||||
check_ajax_referer( 'taxinlineeditnonce', '_inline_edit' );
|
||||
|
||||
$wp_list_table = get_list_table('WP_Terms_List_Table');
|
||||
$wp_list_table = get_list_table('WP_List_Table_Terms');
|
||||
|
||||
$wp_list_table->check_permissions('edit');
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
/** WordPress Administration Bootstrap */
|
||||
require_once('./admin.php');
|
||||
|
||||
$wp_list_table = get_list_table('WP_Comments_List_Table');
|
||||
$wp_list_table = get_list_table('WP_List_Table_Comments');
|
||||
$wp_list_table->check_permissions();
|
||||
|
||||
$doaction = $wp_list_table->current_action();
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
/** WordPress Administration Bootstrap */
|
||||
require_once('./admin.php');
|
||||
|
||||
$wp_list_table = get_list_table('WP_Terms_List_Table');
|
||||
$wp_list_table = get_list_table('WP_List_Table_Terms');
|
||||
$wp_list_table->check_permissions();
|
||||
|
||||
$title = $tax->labels->name;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
/** WordPress Administration Bootstrap */
|
||||
require_once( './admin.php' );
|
||||
|
||||
$wp_list_table = get_list_table('WP_Posts_List_Table');
|
||||
$wp_list_table = get_list_table('WP_List_Table_Posts');
|
||||
$wp_list_table->check_permissions();
|
||||
|
||||
// Back-compat for viewing comments of an entry
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
/** Load WordPress Administration Bootstrap */
|
||||
require_once ('admin.php');
|
||||
|
||||
$wp_list_table = get_list_table('WP_Links_List_Table');
|
||||
$wp_list_table = get_list_table('WP_List_Table_Links');
|
||||
$wp_list_table->check_permissions();
|
||||
|
||||
// Handle bulk deletes
|
||||
|
|
|
@ -12,7 +12,7 @@ require_once( './admin.php' );
|
|||
if ( ! is_multisite() )
|
||||
wp_die( __( 'Multisite support is not enabled.' ) );
|
||||
|
||||
$wp_list_table = get_list_table('WP_MS_Sites_List_Table');
|
||||
$wp_list_table = get_list_table('WP_List_Table_MS_Sites');
|
||||
$wp_list_table->check_permissions();
|
||||
|
||||
$title = __( 'Sites' );
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
require_once( './admin.php' );
|
||||
|
||||
$wp_list_table = get_list_table('WP_MS_Themes_List_Table');
|
||||
$wp_list_table = get_list_table('WP_List_Table_MS_Themes');
|
||||
$wp_list_table->check_permissions();
|
||||
|
||||
$action = $wp_list_table->current_action();
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
require_once( './admin.php' );
|
||||
|
||||
$wp_list_table = get_list_table('WP_MS_Users_List_Table');
|
||||
$wp_list_table = get_list_table('WP_List_Table_MS_Users');
|
||||
$wp_list_table->check_permissions();
|
||||
$wp_list_table->prepare_items();
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
/** WordPress Administration Bootstrap */
|
||||
require_once('./admin.php');
|
||||
|
||||
$wp_list_table = get_list_table('WP_Plugin_Install_List_Table');
|
||||
$wp_list_table = get_list_table('WP_List_Table_Plugin_Install');
|
||||
$wp_list_table->check_permissions();
|
||||
$wp_list_table->prepare_items();
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
/** WordPress Administration Bootstrap */
|
||||
require_once('./admin.php');
|
||||
|
||||
$wp_list_table = get_list_table('WP_Plugins_List_Table');
|
||||
$wp_list_table = get_list_table('WP_List_Table_Plugins');
|
||||
$wp_list_table->check_permissions();
|
||||
|
||||
$action = $wp_list_table->current_action();
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
/** WordPress Administration Bootstrap */
|
||||
require_once('./admin.php');
|
||||
|
||||
$wp_list_table = get_list_table('WP_Theme_Install_List_Table');
|
||||
$wp_list_table = get_list_table('WP_List_Table_Theme_Install');
|
||||
$wp_list_table->check_permissions();
|
||||
$wp_list_table->prepare_items();
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
/** WordPress Administration Bootstrap */
|
||||
require_once('./admin.php');
|
||||
|
||||
$wp_list_table = get_list_table('WP_Themes_List_Table');
|
||||
$wp_list_table = get_list_table('WP_List_Table_Themes');
|
||||
$wp_list_table->check_permissions();
|
||||
|
||||
if ( current_user_can('switch_themes') && isset($_GET['action']) ) {
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
/** WordPress Administration Bootstrap */
|
||||
require_once( './admin.php' );
|
||||
|
||||
$wp_list_table = get_list_table('WP_Media_List_Table');
|
||||
$wp_list_table = get_list_table('WP_List_Table_Media');
|
||||
$wp_list_table->check_permissions();
|
||||
|
||||
// Handle bulk actions
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
/** WordPress Administration Bootstrap */
|
||||
require_once( './admin.php' );
|
||||
|
||||
$wp_list_table = get_list_table('WP_Users_List_Table');
|
||||
$wp_list_table = get_list_table('WP_List_Table_Users');
|
||||
$wp_list_table->check_permissions();
|
||||
|
||||
$title = __('Users');
|
||||
|
|
Loading…
Reference in New Issue