From 41476a07ea88b6634978ae97247bba23603ebf0a Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 23 Dec 2010 14:34:14 +0000 Subject: [PATCH] Set the correct plural. Use plugins class on the table. Props scribu. fixes #15922 git-svn-id: http://svn.automattic.com/wordpress/trunk@17115 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-ms-themes-list-table.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/wp-admin/includes/class-wp-ms-themes-list-table.php b/wp-admin/includes/class-wp-ms-themes-list-table.php index 6720cefd5..b2cd9ba51 100644 --- a/wp-admin/includes/class-wp-ms-themes-list-table.php +++ b/wp-admin/includes/class-wp-ms-themes-list-table.php @@ -32,10 +32,14 @@ class WP_MS_Themes_List_Table extends WP_List_Table { $this->site_id = isset( $_REQUEST['id'] ) ? intval( $_REQUEST['id'] ) : 0; parent::WP_List_Table( array( - 'plural' => 'plugins', // @todo replace with themes and add css + 'plural' => 'themes' ) ); } + function get_table_classes() { + return array( 'widefat', 'fixed', 'plugins' ); // todo: remove and add CSS for .themes + } + function ajax_user_can() { $menu_perms = get_site_option( 'menu_items', array() );