Changeset 16175 for trunk/wp-admin/admin-ajax.php
- Timestamp:
- 11/04/2010 08:07:03 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-ajax.php
r16172 r16175 519 519 set_current_screen($_POST['screen']); 520 520 521 $wp_list_table = get_list_table('WP_ List_Table_Terms');521 $wp_list_table = get_list_table('WP_Terms_List_Table'); 522 522 523 523 $level = 0; … … 583 583 die('-1'); 584 584 585 $wp_list_table = get_list_table('WP_ List_Table_Comments');585 $wp_list_table = get_list_table('WP_Comments_List_Table'); 586 586 $wp_list_table->from_ajax = true; 587 587 … … 612 612 die('-1'); 613 613 614 $wp_list_table = get_list_table('WP_ List_Table_Post_Comments');614 $wp_list_table = get_list_table('WP_Post_Comments_List_Table'); 615 615 616 616 $wp_list_table->prepare_items(); … … 637 637 check_ajax_referer( $action, '_ajax_nonce-replyto-comment' ); 638 638 639 $wp_list_table = get_list_table('WP_ List_Table_Comments');639 $wp_list_table = get_list_table('WP_Comments_List_Table'); 640 640 $wp_list_table->checkbox = ( isset($_POST['checkbox']) && true == $_POST['checkbox'] ) ? 1 : 0; 641 641 … … 718 718 719 719 $checkbox = ( isset($_POST['checkbox']) && true == $_POST['checkbox'] ) ? 1 : 0; 720 $wp_list_table = get_list_table( $checkbox ? 'WP_ List_Table_Comments' : 'WP_List_Table_Post_Comments' );720 $wp_list_table = get_list_table( $checkbox ? 'WP_Comments_List_Table' : 'WP_Post_Comments_List_Table' ); 721 721 722 722 ob_start(); … … 895 895 $user_object = new WP_User( $user_id ); 896 896 897 $wp_list_table = get_list_table('WP_ List_Table_Users');897 $wp_list_table = get_list_table('WP_Users_List_Table'); 898 898 899 899 $x = new WP_Ajax_Response( array( … … 1194 1194 edit_post(); 1195 1195 1196 $wp_list_table = get_list_table('WP_ List_Table_Posts');1196 $wp_list_table = get_list_table('WP_Posts_List_Table'); 1197 1197 1198 1198 $mode = $_POST['post_view']; … … 1204 1204 check_ajax_referer( 'taxinlineeditnonce', '_inline_edit' ); 1205 1205 1206 $wp_list_table = get_list_table('WP_ List_Table_Terms');1206 $wp_list_table = get_list_table('WP_Terms_List_Table'); 1207 1207 1208 1208 $wp_list_table->check_permissions('edit');
Note: See TracChangeset
for help on using the changeset viewer.