Make WordPress Core


Ignore:
Timestamp:
11/04/2010 08:07:03 AM (14 years ago)
Author:
westi
Message:

Revert [16171] and [16172] - The class names were fine as they were and the MultiSite classes stand out more with the original naming.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-ajax.php

    r16172 r16175  
    519519        set_current_screen($_POST['screen']);
    520520
    521     $wp_list_table = get_list_table('WP_List_Table_Terms');
     521    $wp_list_table = get_list_table('WP_Terms_List_Table');
    522522
    523523    $level = 0;
     
    583583        die('-1');
    584584
    585     $wp_list_table = get_list_table('WP_List_Table_Comments');
     585    $wp_list_table = get_list_table('WP_Comments_List_Table');
    586586    $wp_list_table->from_ajax = true;
    587587
     
    612612        die('-1');
    613613
    614     $wp_list_table = get_list_table('WP_List_Table_Post_Comments');
     614    $wp_list_table = get_list_table('WP_Post_Comments_List_Table');
    615615
    616616    $wp_list_table->prepare_items();
     
    637637    check_ajax_referer( $action, '_ajax_nonce-replyto-comment' );
    638638
    639     $wp_list_table = get_list_table('WP_List_Table_Comments');
     639    $wp_list_table = get_list_table('WP_Comments_List_Table');
    640640    $wp_list_table->checkbox = ( isset($_POST['checkbox']) && true == $_POST['checkbox'] ) ? 1 : 0;
    641641
     
    718718
    719719    $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' );
    721721
    722722    ob_start();
     
    895895    $user_object = new WP_User( $user_id );
    896896
    897     $wp_list_table = get_list_table('WP_List_Table_Users');
     897    $wp_list_table = get_list_table('WP_Users_List_Table');
    898898
    899899    $x = new WP_Ajax_Response( array(
     
    11941194    edit_post();
    11951195
    1196     $wp_list_table = get_list_table('WP_List_Table_Posts');
     1196    $wp_list_table = get_list_table('WP_Posts_List_Table');
    11971197
    11981198    $mode = $_POST['post_view'];
     
    12041204    check_ajax_referer( 'taxinlineeditnonce', '_inline_edit' );
    12051205
    1206     $wp_list_table = get_list_table('WP_List_Table_Terms');
     1206    $wp_list_table = get_list_table('WP_Terms_List_Table');
    12071207
    12081208    $wp_list_table->check_permissions('edit');
Note: See TracChangeset for help on using the changeset viewer.