Changeset 16175
- Timestamp:
- 11/04/2010 08:07:03 AM (14 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 13 deleted
- 17 edited
- 13 copied
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'); -
trunk/wp-admin/edit-comments.php
r16172 r16175 10 10 require_once('./admin.php'); 11 11 12 $wp_list_table = get_list_table('WP_ List_Table_Comments');12 $wp_list_table = get_list_table('WP_Comments_List_Table'); 13 13 $wp_list_table->check_permissions(); 14 14 -
trunk/wp-admin/edit-tags.php
r16172 r16175 10 10 require_once('./admin.php'); 11 11 12 $wp_list_table = get_list_table('WP_ List_Table_Terms');12 $wp_list_table = get_list_table('WP_Terms_List_Table'); 13 13 $wp_list_table->check_permissions(); 14 14 -
trunk/wp-admin/edit.php
r16172 r16175 10 10 require_once( './admin.php' ); 11 11 12 $wp_list_table = get_list_table('WP_ List_Table_Posts');12 $wp_list_table = get_list_table('WP_Posts_List_Table'); 13 13 $wp_list_table->check_permissions(); 14 14 -
trunk/wp-admin/includes/list-table.php
r16171 r16175 39 39 $core_classes = array( 40 40 //Site Admin 41 'WP_ List_Table_Posts' => 'posts',42 'WP_ List_Table_Media' => 'media',43 'WP_ List_Table_Terms' => 'terms',44 'WP_ List_Table_Users' => 'users',45 'WP_ List_Table_Comments' => 'comments',46 'WP_ List_Table_Post_Comments' => 'comments',47 'WP_Li st_Table_Links' => 'links',48 'WP_ List_Table_Plugin_Install' => 'plugin-install',49 'WP_ List_Table_Themes' => 'themes',50 'WP_ List_Table_Theme_Install' => 'theme-install',51 'WP_ List_Table_Plugins' => 'plugins',41 'WP_Posts_List_Table' => 'posts', 42 'WP_Media_List_Table' => 'media', 43 'WP_Terms_List_Table' => 'terms', 44 'WP_Users_List_Table' => 'users', 45 'WP_Comments_List_Table' => 'comments', 46 'WP_Post_Comments_List_Table' => 'comments', 47 'WP_Links_List_Table' => 'links', 48 'WP_Plugin_Install_List_Table' => 'plugin-install', 49 'WP_Themes_List_Table' => 'themes', 50 'WP_Theme_Install_List_Table' => 'theme-install', 51 'WP_Plugins_List_Table' => 'plugins', 52 52 // Network Admin 53 'WP_ List_Table_MS_Sites' => 'ms-sites',54 'WP_ List_Table_MS_Users' => 'ms-users',55 'WP_ List_Table_MS_Themes' => 'ms-themes',53 'WP_MS_Sites_List_Table' => 'ms-sites', 54 'WP_MS_Users_List_Table' => 'ms-users', 55 'WP_MS_Themes_List_Table' => 'ms-themes', 56 56 ); 57 57 58 58 if ( isset( $core_classes[ $class ] ) ) { 59 require_once( ABSPATH . '/wp-admin/includes/class-wp- list-table-' . $core_classes[ $class ] . '.php' );59 require_once( ABSPATH . '/wp-admin/includes/class-wp-' . $core_classes[ $class ] . '-list-table.php' ); 60 60 return true; 61 61 } -
trunk/wp-admin/includes/meta-boxes.php
r16174 r16175 489 489 wp_nonce_field( 'get-comments', 'add_comment_nonce', false ); 490 490 491 $wp_list_table = get_list_table('WP_ List_Table_Post_Comments');491 $wp_list_table = get_list_table('WP_Post_Comments_List_Table'); 492 492 ?> 493 493 -
trunk/wp-admin/includes/template.php
r16171 r16175 330 330 } 331 331 332 $wp_list_table = get_list_table('WP_ List_Table_Comments');332 $wp_list_table = get_list_table('WP_Comments_List_Table'); 333 333 334 334 list ( $columns, $hidden ) = $wp_list_table->get_column_info(); -
trunk/wp-admin/link-manager.php
r16172 r16175 10 10 require_once ('admin.php'); 11 11 12 $wp_list_table = get_list_table('WP_Li st_Table_Links');12 $wp_list_table = get_list_table('WP_Links_List_Table'); 13 13 $wp_list_table->check_permissions(); 14 14 -
trunk/wp-admin/network/sites.php
r16172 r16175 13 13 wp_die( __( 'Multisite support is not enabled.' ) ); 14 14 15 $wp_list_table = get_list_table('WP_ List_Table_MS_Sites');15 $wp_list_table = get_list_table('WP_MS_Sites_List_Table'); 16 16 $wp_list_table->check_permissions(); 17 17 -
trunk/wp-admin/network/themes.php
r16172 r16175 10 10 require_once( './admin.php' ); 11 11 12 $wp_list_table = get_list_table('WP_ List_Table_MS_Themes');12 $wp_list_table = get_list_table('WP_MS_Themes_List_Table'); 13 13 $wp_list_table->check_permissions(); 14 14 -
trunk/wp-admin/network/users.php
r16172 r16175 10 10 require_once( './admin.php' ); 11 11 12 $wp_list_table = get_list_table('WP_ List_Table_MS_Users');12 $wp_list_table = get_list_table('WP_MS_Users_List_Table'); 13 13 $wp_list_table->check_permissions(); 14 14 $wp_list_table->prepare_items(); -
trunk/wp-admin/plugin-install.php
r16172 r16175 10 10 require_once('./admin.php'); 11 11 12 $wp_list_table = get_list_table('WP_ List_Table_Plugin_Install');12 $wp_list_table = get_list_table('WP_Plugin_Install_List_Table'); 13 13 $wp_list_table->check_permissions(); 14 14 $wp_list_table->prepare_items(); -
trunk/wp-admin/plugins.php
r16172 r16175 10 10 require_once('./admin.php'); 11 11 12 $wp_list_table = get_list_table('WP_ List_Table_Plugins');12 $wp_list_table = get_list_table('WP_Plugins_List_Table'); 13 13 $wp_list_table->check_permissions(); 14 14 -
trunk/wp-admin/theme-install.php
r16172 r16175 10 10 require_once('./admin.php'); 11 11 12 $wp_list_table = get_list_table('WP_ List_Table_Theme_Install');12 $wp_list_table = get_list_table('WP_Theme_Install_List_Table'); 13 13 $wp_list_table->check_permissions(); 14 14 $wp_list_table->prepare_items(); -
trunk/wp-admin/themes.php
r16172 r16175 10 10 require_once('./admin.php'); 11 11 12 $wp_list_table = get_list_table('WP_ List_Table_Themes');12 $wp_list_table = get_list_table('WP_Themes_List_Table'); 13 13 $wp_list_table->check_permissions(); 14 14 -
trunk/wp-admin/upload.php
r16172 r16175 10 10 require_once( './admin.php' ); 11 11 12 $wp_list_table = get_list_table('WP_ List_Table_Media');12 $wp_list_table = get_list_table('WP_Media_List_Table'); 13 13 $wp_list_table->check_permissions(); 14 14 -
trunk/wp-admin/users.php
r16172 r16175 10 10 require_once( './admin.php' ); 11 11 12 $wp_list_table = get_list_table('WP_ List_Table_Users');12 $wp_list_table = get_list_table('WP_Users_List_Table'); 13 13 $wp_list_table->check_permissions(); 14 14
Note: See TracChangeset
for help on using the changeset viewer.