Comments: Restore the `::has_items()` call in `WP_Comments_List_Table::extra_tablenav()` for now, until unit tests are updated accordingly.

Follow-up to [48722].

Fixes #40188. See #50815.
Built from https://develop.svn.wordpress.org/trunk@48724


git-svn-id: http://core.svn.wordpress.org/trunk@48486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-08-04 16:26:03 +00:00
parent b615c45103
commit 315db55458
2 changed files with 2 additions and 2 deletions

View File

@ -407,7 +407,7 @@ class WP_Comments_List_Table extends WP_List_Table {
$output = ob_get_clean(); $output = ob_get_clean();
if ( ! empty( $output ) && $has_items ) { if ( ! empty( $output ) && $this->has_items() ) {
echo $output; echo $output;
submit_button( __( 'Filter' ), '', 'filter_action', false, array( 'id' => 'post-query-submit' ) ); submit_button( __( 'Filter' ), '', 'filter_action', false, array( 'id' => 'post-query-submit' ) );
} }

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.6-alpha-48722'; $wp_version = '5.6-alpha-48724';
/** /**
* 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.