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
This commit is contained in:
Ryan Boren 2010-12-23 14:34:14 +00:00
parent 9127aef074
commit fea14d8ba6
1 changed files with 5 additions and 1 deletions

View File

@ -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() );