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:
parent
4c955292f9
commit
41476a07ea
|
@ -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() );
|
||||
|
||||
|
|
Loading…
Reference in New Issue