The big renaming of the list-table class files.

See #14579

git-svn-id: https://develop.svn.wordpress.org/trunk@16128 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood
2010-11-01 09:19:50 +00:00
parent 78d95aa459
commit c4633bbd54
30 changed files with 66 additions and 65 deletions

View File

@@ -518,7 +518,7 @@ case 'add-tag' :
if ( isset($_POST['screen']) )
set_current_screen($_POST['screen']);
$wp_list_table = get_list_table('WP_Terms_Table');
$wp_list_table = get_list_table('WP_Terms_List_Table');
$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_Table');
$wp_list_table = get_list_table('WP_Comments_List_Table');
$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_Table');
$wp_list_table = get_list_table('WP_Post_Comments_List_Table');
$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_Table');
$wp_list_table = get_list_table('WP_Comments_List_Table');
$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_Table' : 'WP_Post_Comments_Table' );
$wp_list_table = get_list_table( $checkbox ? 'WP_Comments_List_Table' : 'WP_Post_Comments_List_Table' );
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_Table');
$wp_list_table = get_list_table('WP_Users_List_Table');
$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_Table');
$wp_list_table = get_list_table('WP_Posts_List_Table');
$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_Table');
$wp_list_table = get_list_table('WP_Terms_List_Table');
$wp_list_table->check_permissions('edit');