List Tables: in _WP_List_Table_Compat::get_column_info(), also return $primary, which is expected since [33016].

Props tyxla.
Fixes #34148.

Built from https://develop.svn.wordpress.org/trunk@34897


git-svn-id: http://core.svn.wordpress.org/trunk@34862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2015-10-07 03:12:24 +00:00
parent 226bb29ff0
commit a1ead3c7e3
2 changed files with 3 additions and 2 deletions

View File

@ -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 );
}
/**

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-alpha-34896';
$wp_version = '4.4-alpha-34897';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.