From a1ead3c7e3f78645a46f7e8440aa4eb979daae5a Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Wed, 7 Oct 2015 03:12:24 +0000 Subject: [PATCH] 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 --- wp-admin/includes/list-table.php | 3 ++- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/list-table.php b/wp-admin/includes/list-table.php index dc900ca039..8120598a60 100644 --- a/wp-admin/includes/list-table.php +++ b/wp-admin/includes/list-table.php @@ -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 ); } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 0cb790799f..da7935d41f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.