List Tables: in _WP_List_Table_Compat::get_column_info()
, also return $primary
, which is expected since [33016].
Props tyxla. Fixes #34148. git-svn-id: https://develop.svn.wordpress.org/trunk@34897 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7cfee3c41d
commit
02251dcd5d
@ -110,8 +110,9 @@ class _WP_List_Table_Compat extends WP_List_Table {
|
||||
$columns = get_column_headers( $this->_screen );
|
||||
$hidden = get_hidden_columns( $this->_screen );
|
||||
$sortable = array();
|
||||
$primary = $this->get_default_primary_column_name();
|
||||
|
||||
return array( $columns, $hidden, $sortable );
|
||||
return array( $columns, $hidden, $sortable, $primary );
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user