Changeset 16128
- Timestamp:
- 11/01/2010 09:19:50 AM (14 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 17 edited
- 13 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-ajax.php
r16118 r16128 519 519 set_current_screen($_POST['screen']); 520 520 521 $wp_list_table = get_list_table('WP_Terms_ Table');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_Comments_ Table');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_Post_Comments_ Table');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_Comments_ Table');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_Comments_ Table' : 'WP_Post_Comments_Table' );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_Users_ Table');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_Posts_ Table');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_Terms_ Table');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
r16108 r16128 10 10 require_once('./admin.php'); 11 11 12 $wp_list_table = get_list_table('WP_Comments_ Table');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
r16061 r16128 10 10 require_once('./admin.php'); 11 11 12 $wp_list_table = get_list_table('WP_Terms_ Table');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
r16061 r16128 10 10 require_once( './admin.php' ); 11 11 12 $wp_list_table = get_list_table('WP_Posts_ Table');12 $wp_list_table = get_list_table('WP_Posts_List_Table'); 13 13 $wp_list_table->check_permissions(); 14 14 -
trunk/wp-admin/includes/class-wp-comments-list-table.php
r16123 r16128 15 15 * @since 3.1.0 16 16 */ 17 class WP_Comments_ Table extends WP_List_Table {17 class WP_Comments_List_Table extends WP_List_Table { 18 18 19 19 var $checkbox = true; … … 22 22 var $pending_count = array(); 23 23 24 function WP_Comments_ Table() {24 function WP_Comments_List_Table() { 25 25 global $mode; 26 26 … … 503 503 * @see WP_Comments_Table 504 504 */ 505 class WP_Post_Comments_ Table extends WP_Comments_Table {505 class WP_Post_Comments_List_Table extends WP_Comments_List_Table { 506 506 507 507 function get_columns() { -
trunk/wp-admin/includes/class-wp-links-list-table.php
r16123 r16128 7 7 * @since 3.1.0 8 8 */ 9 class WP_Links_ Table extends WP_List_Table {9 class WP_Links_List_Table extends WP_List_Table { 10 10 11 function WP_Links_ Table() {11 function WP_Links_List_Table() { 12 12 parent::WP_List_Table( array( 13 13 'screen' => 'link-manager', -
trunk/wp-admin/includes/class-wp-media-list-table.php
r16123 r16128 7 7 * @since 3.1.0 8 8 */ 9 class WP_Media_ Table extends WP_List_Table {10 11 function WP_Media_ Table() {9 class WP_Media_List_Table extends WP_List_Table { 10 11 function WP_Media_List_Table() { 12 12 global $detached; 13 13 -
trunk/wp-admin/includes/class-wp-ms-sites-list-table.php
r16126 r16128 7 7 * @since 3.1.0 8 8 */ 9 class WP_ Sites_Table extends WP_List_Table {10 11 function WP_ Sites_Table() {9 class WP_MS_Sites_List_Table extends WP_List_Table { 10 11 function WP_MS_Sites_List_Table() { 12 12 parent::WP_List_Table( array( 13 13 'screen' => 'sites-network', -
trunk/wp-admin/includes/class-wp-ms-themes-list-table.php
r16125 r16128 7 7 * @since 3.1.0 8 8 */ 9 class WP_MS_Themes_ Table extends WP_List_Table {10 11 function WP_MS_Themes_ Table() {9 class WP_MS_Themes_List_Table extends WP_List_Table { 10 11 function WP_MS_Themes_List_Table() { 12 12 global $status, $page; 13 13 -
trunk/wp-admin/includes/class-wp-ms-users-list-table.php
r16123 r16128 7 7 * @since 3.1.0 8 8 */ 9 class WP_MS_Users_ Table extends WP_List_Table {10 11 function WP_MS_Users_ Table() {9 class WP_MS_Users_List_Table extends WP_List_Table { 10 11 function WP_MS_Users_List_Table() { 12 12 parent::WP_List_Table( array( 13 13 'screen' => 'users-network', -
trunk/wp-admin/includes/class-wp-plugin-install-list-table.php
r16123 r16128 7 7 * @since 3.1.0 8 8 */ 9 class WP_Plugin_Install_ Table extends WP_List_Table {10 11 function WP_Plugin_Install_ Table() {9 class WP_Plugin_Install_List_Table extends WP_List_Table { 10 11 function WP_Plugin_Install_List_Table() { 12 12 parent::WP_List_Table( array( 13 13 'screen' => 'plugin-install', -
trunk/wp-admin/includes/class-wp-plugins-list-table.php
r16125 r16128 7 7 * @since 3.1.0 8 8 */ 9 class WP_Plugins_ Table extends WP_List_Table {10 11 function WP_Plugins_ Table() {9 class WP_Plugins_List_Table extends WP_List_Table { 10 11 function WP_Plugins_List_Table() { 12 12 global $status, $page; 13 13 -
trunk/wp-admin/includes/class-wp-posts-list-table.php
r16123 r16128 7 7 * @since 3.1.0 8 8 */ 9 class WP_Posts_ Table extends WP_List_Table {9 class WP_Posts_List_Table extends WP_List_Table { 10 10 11 11 /** … … 45 45 var $sticky_posts_count = 0; 46 46 47 function WP_Posts_ Table() {47 function WP_Posts_List_Table() { 48 48 global $post_type_object, $post_type, $current_screen, $wpdb; 49 49 -
trunk/wp-admin/includes/class-wp-terms-list-table.php
r16123 r16128 7 7 * @since 3.1.0 8 8 */ 9 class WP_Terms_ Table extends WP_List_Table {9 class WP_Terms_List_Table extends WP_List_Table { 10 10 11 11 var $callback_args; 12 12 13 function WP_Terms_ Table() {13 function WP_Terms_List_Table() { 14 14 global $post_type, $taxonomy, $tax, $current_screen; 15 15 -
trunk/wp-admin/includes/class-wp-theme-install-list-table.php
r16123 r16128 7 7 * @since 3.1.0 8 8 */ 9 class WP_Theme_Install_ Table extends WP_List_Table {9 class WP_Theme_Install_List_Table extends WP_List_Table { 10 10 11 function WP_Theme_Install_ Table() {11 function WP_Theme_Install_List_Table() { 12 12 parent::WP_List_Table( array( 13 13 'screen' => 'theme-install', -
trunk/wp-admin/includes/class-wp-themes-list-table.php
r16123 r16128 7 7 * @since 3.1.0 8 8 */ 9 class WP_Themes_ Table extends WP_List_Table {9 class WP_Themes_List_Table extends WP_List_Table { 10 10 11 11 var $search = array(); 12 12 var $features = array(); 13 13 14 function WP_Themes_ Table() {14 function WP_Themes_List_Table() { 15 15 parent::__construct( array( 16 16 'screen' => 'themes', -
trunk/wp-admin/includes/class-wp-users-list-table.php
r16123 r16128 7 7 * @since 3.1.0 8 8 */ 9 class WP_Users_ Table extends WP_List_Table {10 11 function WP_Users_ Table() {9 class WP_Users_List_Table extends WP_List_Table { 10 11 function WP_Users_List_Table() { 12 12 parent::WP_List_Table( array( 13 13 'screen' => 'users', -
trunk/wp-admin/includes/list-table.php
r16127 r16128 38 38 function require_list_table( $class ) { 39 39 $core_classes = array( 40 'WP_Posts_ Table' => 'posts',41 'WP_Media_ Table' => 'media',42 'WP_Terms_ Table' => 'terms',43 'WP_Users_ Table' => 'users',44 'WP_Comments_ Table' => 'comments',45 'WP_Post_Comments_ Table' => 'comments',46 'WP_Links_ Table' => 'links',47 'WP_ Sites_Table' => 'sites',48 'WP_MS_Users_ Table' => 'ms-users',49 'WP_Plugins_ Table' => 'plugins',50 'WP_Plugin_Install_ Table' => 'plugin-install',51 'WP_Themes_ Table' => 'themes',52 'WP_Theme_Install_ Table' => 'theme-install',53 'WP_MS_Themes_ Table' => 'ms-themes',40 'WP_Posts_List_Table' => 'posts', 41 'WP_Media_List_Table' => 'media', 42 'WP_Terms_List_Table' => 'terms', 43 'WP_Users_List_Table' => 'users', 44 'WP_Comments_List_Table' => 'comments', 45 'WP_Post_Comments_List_Table' => 'comments', 46 'WP_Links_List_Table' => 'links', 47 'WP_MS_Sites_List_Table' => 'ms-sites', 48 'WP_MS_Users_List_Table' => 'ms-users', 49 'WP_Plugins_List_Table' => 'plugins', 50 'WP_Plugin_Install_List_Table' => 'plugin-install', 51 'WP_Themes_List_Table' => 'themes', 52 'WP_Theme_Install_List_Table' => 'theme-install', 53 'WP_MS_Themes_List_Table' => 'ms-themes', 54 54 ); 55 55 56 56 if ( isset( $core_classes[ $class ] ) ) { 57 require_once( ABSPATH . '/wp-admin/includes/ list-table-' . $core_classes[ $class ] . '.php' );57 require_once( ABSPATH . '/wp-admin/includes/class-wp-' . $core_classes[ $class ] . '-list-table.php' ); 58 58 return true; 59 59 } 60 60 61 return false; 61 62 } -
trunk/wp-admin/includes/meta-boxes.php
r16061 r16128 462 462 wp_nonce_field( 'get-comments', 'add_comment_nonce', false ); 463 463 464 $wp_list_table = get_list_table('WP_Post_Comments_ Table');464 $wp_list_table = get_list_table('WP_Post_Comments_List_Table'); 465 465 ?> 466 466 -
trunk/wp-admin/includes/template.php
r16097 r16128 330 330 } 331 331 332 $wp_list_table = get_list_table('WP_Comments_ Table');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
r16061 r16128 10 10 require_once ('admin.php'); 11 11 12 $wp_list_table = get_list_table('WP_Links_ Table');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
r16061 r16128 13 13 wp_die( __( 'Multisite support is not enabled.' ) ); 14 14 15 $wp_list_table = get_list_table('WP_ Sites_Table');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
r16122 r16128 10 10 require_once( './admin.php' ); 11 11 12 $wp_list_table = get_list_table('WP_MS_Themes_ Table');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
r16061 r16128 10 10 require_once( './admin.php' ); 11 11 12 $wp_list_table = get_list_table('WP_MS_Users_ Table');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
r15956 r16128 10 10 require_once('./admin.php'); 11 11 12 $wp_list_table = get_list_table('WP_Plugin_Install_ Table');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
r16089 r16128 10 10 require_once('./admin.php'); 11 11 12 $wp_list_table = get_list_table('WP_Plugins_ Table');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
r15962 r16128 10 10 require_once('./admin.php'); 11 11 12 $wp_list_table = get_list_table('WP_Theme_Install_ Table');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
r16061 r16128 10 10 require_once('./admin.php'); 11 11 12 $wp_list_table = get_list_table('WP_Themes_ Table');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
r16061 r16128 10 10 require_once( './admin.php' ); 11 11 12 $wp_list_table = get_list_table('WP_Media_ Table');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
r16107 r16128 10 10 require_once( './admin.php' ); 11 11 12 $wp_list_table = get_list_table('WP_Users_ Table');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.