Group the Network admin List Tables class mapping seperately so they are easier to pick out. See #14435, #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ad92d629d6
commit
8b62d686ca
|
@ -37,6 +37,7 @@ function get_list_table( $class ) {
|
|||
*/
|
||||
function require_list_table( $class ) {
|
||||
$core_classes = array(
|
||||
//Site Admin
|
||||
'WP_Posts_List_Table' => 'posts',
|
||||
'WP_Media_List_Table' => 'media',
|
||||
'WP_Terms_List_Table' => 'terms',
|
||||
|
@ -44,12 +45,13 @@ function require_list_table( $class ) {
|
|||
'WP_Comments_List_Table' => 'comments',
|
||||
'WP_Post_Comments_List_Table' => 'comments',
|
||||
'WP_Links_List_Table' => 'links',
|
||||
'WP_MS_Sites_List_Table' => 'ms-sites',
|
||||
'WP_MS_Users_List_Table' => 'ms-users',
|
||||
'WP_Plugins_List_Table' => 'plugins',
|
||||
'WP_Plugin_Install_List_Table' => 'plugin-install',
|
||||
'WP_Themes_List_Table' => 'themes',
|
||||
'WP_Theme_Install_List_Table' => 'theme-install',
|
||||
'WP_Plugins_List_Table' => 'plugins',
|
||||
// Network Admin
|
||||
'WP_MS_Sites_List_Table' => 'ms-sites',
|
||||
'WP_MS_Users_List_Table' => 'ms-users',
|
||||
'WP_MS_Themes_List_Table' => 'ms-themes',
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue