Changeset 16175 for trunk/wp-admin/includes/list-table.php
- Timestamp:
- 11/04/2010 08:07:03 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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 }
Note: See TracChangeset
for help on using the changeset viewer.