Changeset 16171
- Timestamp:
- 11/03/2010 09:09:27 PM (14 years ago)
- Location:
- trunk/wp-admin/includes
- Files:
-
- 3 edited
- 13 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-list-table-comments.php
r16170 r16171 15 15 * @since 3.1.0 16 16 */ 17 class WP_ Comments_List_Tableextends WP_List_Table {17 class WP_List_Table_Comments extends WP_List_Table { 18 18 19 19 var $checkbox = true; … … 22 22 var $pending_count = array(); 23 23 24 function WP_ Comments_List_Table() {24 function WP_List_Table_Comments() { 25 25 global $mode; 26 26 … … 503 503 * @see WP_Comments_Table 504 504 */ 505 class WP_ Post_Comments_List_Table extends WP_Comments_List_Table{505 class WP_List_Table_Post_Comments extends WP_List_Table_Comments { 506 506 507 507 function get_columns() { -
trunk/wp-admin/includes/class-wp-list-table-links.php
r16170 r16171 7 7 * @since 3.1.0 8 8 */ 9 class WP_Li nks_List_Tableextends WP_List_Table {9 class WP_List_Table_Links extends WP_List_Table { 10 10 11 function WP_Li nks_List_Table() {11 function WP_List_Table_Links() { 12 12 parent::WP_List_Table( array( 13 13 'screen' => 'link-manager', -
trunk/wp-admin/includes/class-wp-list-table-media.php
r16170 r16171 7 7 * @since 3.1.0 8 8 */ 9 class WP_ Media_List_Tableextends WP_List_Table {10 11 function WP_ Media_List_Table() {9 class WP_List_Table_Media extends WP_List_Table { 10 11 function WP_List_Table_Media() { 12 12 global $detached; 13 13 -
trunk/wp-admin/includes/class-wp-list-table-ms-sites.php
r16170 r16171 7 7 * @since 3.1.0 8 8 */ 9 class WP_ MS_Sites_List_Tableextends WP_List_Table {10 11 function WP_ MS_Sites_List_Table() {9 class WP_List_Table_MS_Sites extends WP_List_Table { 10 11 function WP_List_Table_MS_Sites() { 12 12 parent::WP_List_Table( array( 13 13 'screen' => 'sites-network', -
trunk/wp-admin/includes/class-wp-list-table-ms-themes.php
r16170 r16171 7 7 * @since 3.1.0 8 8 */ 9 class WP_ MS_Themes_List_Tableextends WP_List_Table {10 11 function WP_ MS_Themes_List_Table() {9 class WP_List_Table_MS_Themes extends WP_List_Table { 10 11 function WP_List_Table_MS_Themes() { 12 12 global $status, $page; 13 13 -
trunk/wp-admin/includes/class-wp-list-table-ms-users.php
r16170 r16171 7 7 * @since 3.1.0 8 8 */ 9 class WP_ MS_Users_List_Tableextends WP_List_Table {10 11 function WP_ MS_Users_List_Table() {9 class WP_List_Table_MS_Users extends WP_List_Table { 10 11 function WP_List_Table_MS_Users() { 12 12 parent::WP_List_Table( array( 13 13 'screen' => 'users-network', -
trunk/wp-admin/includes/class-wp-list-table-plugin-install.php
r16170 r16171 7 7 * @since 3.1.0 8 8 */ 9 class WP_ Plugin_Install_List_Tableextends WP_List_Table {10 11 function WP_ Plugin_Install_List_Table() {9 class WP_List_Table_Plugin_Install extends WP_List_Table { 10 11 function WP_List_Table_Plugin_Install() { 12 12 parent::WP_List_Table( array( 13 13 'screen' => 'plugin-install', -
trunk/wp-admin/includes/class-wp-list-table-plugins.php
r16170 r16171 7 7 * @since 3.1.0 8 8 */ 9 class WP_ Plugins_List_Tableextends WP_List_Table {10 11 function WP_ Plugins_List_Table() {9 class WP_List_Table_Plugins extends WP_List_Table { 10 11 function WP_List_Table_Plugins() { 12 12 global $status, $page; 13 13 -
trunk/wp-admin/includes/class-wp-list-table-posts.php
r16170 r16171 7 7 * @since 3.1.0 8 8 */ 9 class WP_ Posts_List_Tableextends WP_List_Table {9 class WP_List_Table_Posts extends WP_List_Table { 10 10 11 11 /** … … 45 45 var $sticky_posts_count = 0; 46 46 47 function WP_ Posts_List_Table() {47 function WP_List_Table_Posts() { 48 48 global $post_type_object, $post_type, $current_screen, $wpdb; 49 49 -
trunk/wp-admin/includes/class-wp-list-table-terms.php
r16170 r16171 7 7 * @since 3.1.0 8 8 */ 9 class WP_ Terms_List_Tableextends WP_List_Table {9 class WP_List_Table_Terms extends WP_List_Table { 10 10 11 11 var $callback_args; 12 12 13 function WP_ Terms_List_Table() {13 function WP_List_Table_Terms() { 14 14 global $post_type, $taxonomy, $tax, $current_screen; 15 15 -
trunk/wp-admin/includes/class-wp-list-table-theme-install.php
r16170 r16171 7 7 * @since 3.1.0 8 8 */ 9 class WP_ Theme_Install_List_Tableextends WP_List_Table {9 class WP_List_Table_Theme_Install extends WP_List_Table { 10 10 11 function WP_ Theme_Install_List_Table() {11 function WP_List_Table_Theme_Install() { 12 12 parent::WP_List_Table( array( 13 13 'screen' => 'theme-install', -
trunk/wp-admin/includes/class-wp-list-table-themes.php
r16170 r16171 7 7 * @since 3.1.0 8 8 */ 9 class WP_ Themes_List_Tableextends WP_List_Table {9 class WP_List_Table_Themes extends WP_List_Table { 10 10 11 11 var $search = array(); 12 12 var $features = array(); 13 13 14 function WP_ Themes_List_Table() {14 function WP_List_Table_Themes() { 15 15 parent::__construct( array( 16 16 'screen' => 'themes', -
trunk/wp-admin/includes/class-wp-list-table-users.php
r16170 r16171 7 7 * @since 3.1.0 8 8 */ 9 class WP_ Users_List_Tableextends WP_List_Table {10 11 function WP_ Users_List_Table() {9 class WP_List_Table_Users extends WP_List_Table { 10 11 function WP_List_Table_Users() { 12 12 parent::WP_List_Table( array( 13 13 'screen' => 'users', -
trunk/wp-admin/includes/list-table.php
r16129 r16171 39 39 $core_classes = array( 40 40 //Site Admin 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_Li nks_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',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_List_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', 52 52 // Network Admin 53 'WP_ MS_Sites_List_Table' => 'ms-sites',54 'WP_ MS_Users_List_Table' => 'ms-users',55 'WP_ MS_Themes_List_Table' => 'ms-themes',53 'WP_List_Table_MS_Sites' => 'ms-sites', 54 'WP_List_Table_MS_Users' => 'ms-users', 55 'WP_List_Table_MS_Themes' => 'ms-themes', 56 56 ); 57 57 58 58 if ( isset( $core_classes[ $class ] ) ) { 59 require_once( ABSPATH . '/wp-admin/includes/class-wp- ' . $core_classes[ $class ] . '-list-table.php' );59 require_once( ABSPATH . '/wp-admin/includes/class-wp-list-table-' . $core_classes[ $class ] . '.php' ); 60 60 return true; 61 61 } -
trunk/wp-admin/includes/meta-boxes.php
r16128 r16171 462 462 wp_nonce_field( 'get-comments', 'add_comment_nonce', false ); 463 463 464 $wp_list_table = get_list_table('WP_ Post_Comments_List_Table');464 $wp_list_table = get_list_table('WP_List_Table_Post_Comments'); 465 465 ?> 466 466 -
trunk/wp-admin/includes/template.php
r16128 r16171 330 330 } 331 331 332 $wp_list_table = get_list_table('WP_ Comments_List_Table');332 $wp_list_table = get_list_table('WP_List_Table_Comments'); 333 333 334 334 list ( $columns, $hidden ) = $wp_list_table->get_column_info();
Note: See TracChangeset
for help on using the changeset viewer.