WordPress.org

Make WordPress Core

Changeset 16129


Ignore:
Timestamp:
11/01/2010 09:24:32 AM (8 years ago)
Author:
westi
Message:

Group the Network admin List Tables class mapping seperately so they are easier to pick out. See #14435, #14579

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/list-table.php

    r16128 r16129  
    3838function require_list_table( $class ) {
    3939    $core_classes = array(
     40        //Site Admin
    4041        'WP_Posts_List_Table' => 'posts',
    4142        'WP_Media_List_Table' => 'media',
     
    4546        'WP_Post_Comments_List_Table' => 'comments',
    4647        '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',
    5048        'WP_Plugin_Install_List_Table' => 'plugin-install',
    5149        'WP_Themes_List_Table' => 'themes',
    5250        'WP_Theme_Install_List_Table' => 'theme-install',
     51        'WP_Plugins_List_Table' => 'plugins',
     52        // Network Admin
     53        'WP_MS_Sites_List_Table' => 'ms-sites',
     54        'WP_MS_Users_List_Table' => 'ms-users',
    5355        'WP_MS_Themes_List_Table' => 'ms-themes',
    5456    );
Note: See TracChangeset for help on using the changeset viewer.