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/includes/list-table.php

    r16171 r16175  
    3939    $core_classes = array(
    4040        //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_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',
     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',
    5252        // 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',
    5656    );
    5757
    5858    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' );
    6060        return true;
    6161    }
Note: See TracChangeset for help on using the changeset viewer.