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
This commit is contained in:
ryan 2010-12-23 14:34:14 +00:00
parent 4c955292f9
commit 41476a07ea
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() );