mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-13 22:26:06 +01:00
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:
parent
226bb29ff0
commit
a1ead3c7e3
@ -110,8 +110,9 @@ class _WP_List_Table_Compat extends WP_List_Table {
|
|||||||
$columns = get_column_headers( $this->_screen );
|
$columns = get_column_headers( $this->_screen );
|
||||||
$hidden = get_hidden_columns( $this->_screen );
|
$hidden = get_hidden_columns( $this->_screen );
|
||||||
$sortable = array();
|
$sortable = array();
|
||||||
|
$primary = $this->get_default_primary_column_name();
|
||||||
|
|
||||||
return array( $columns, $hidden, $sortable );
|
return array( $columns, $hidden, $sortable, $primary );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user