mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 18:32:23 +01:00
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:
parent
b615c45103
commit
315db55458
@ -407,7 +407,7 @@ class WP_Comments_List_Table extends WP_List_Table {
|
||||
|
||||
$output = ob_get_clean();
|
||||
|
||||
if ( ! empty( $output ) && $has_items ) {
|
||||
if ( ! empty( $output ) && $this->has_items() ) {
|
||||
echo $output;
|
||||
submit_button( __( 'Filter' ), '', 'filter_action', false, array( 'id' => 'post-query-submit' ) );
|
||||
}
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @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.
|
||||
|
Loading…
Reference in New Issue
Block a user