From 4cee2ae1355079929777549876db1762fc10a5c7 Mon Sep 17 00:00:00 2001 From: Mel Choyce Date: Wed, 3 Oct 2018 19:47:25 +0000 Subject: [PATCH] List Table: Restore the List Table items property to allow Bulk Actions to be properly determined. This fixes the display of Bulk Actions where there exists only a single page of results. Props shaneeckert, jobthomas, dd32. Fixes #45028. Built from https://develop.svn.wordpress.org/trunk@43671 git-svn-id: http://core.svn.wordpress.org/trunk@43500 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-comments-list-table.php | 6 ++++++ wp-includes/version.php | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/wp-admin/includes/class-wp-comments-list-table.php b/wp-admin/includes/class-wp-comments-list-table.php index 7d2068fc49..79f0b73473 100644 --- a/wp-admin/includes/class-wp-comments-list-table.php +++ b/wp-admin/includes/class-wp-comments-list-table.php @@ -508,8 +508,14 @@ class WP_Comments_List_Table extends WP_List_Table { items; $this->items = $this->extra_items; $this->display_rows_or_placeholder(); + $this->items = $items; ?> diff --git a/wp-includes/version.php b/wp-includes/version.php index 5b48a3ce8b..687a03c393 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-43670'; +$wp_version = '5.0-alpha-43671'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.