From fea14d8ba6840942b0feab4362ed595c913da84f Mon Sep 17 00:00:00 2001 From: Ryan Boren 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: https://develop.svn.wordpress.org/trunk@17115 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 6720cefd53..b2cd9ba51a 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() );