diff --git a/src/wp-admin/includes/class-wp-list-table.php b/src/wp-admin/includes/class-wp-list-table.php
index 4bad78b823..234cfe88a4 100644
a
|
b
|
class WP_List_Table { |
1021 | 1021 | * @param string $which The location of the pagination: Either 'top' or 'bottom'. |
1022 | 1022 | */ |
1023 | 1023 | protected function pagination( $which ) { |
1024 | | if ( empty( $this->_pagination_args ) ) { |
| 1024 | if ( empty( $this->_pagination_args['total_items'] ) ) { |
1025 | 1025 | return; |
1026 | 1026 | } |
1027 | 1027 | |
… |
… |
class WP_List_Table { |
1669 | 1669 | * @param string $which The location of the navigation: Either 'top' or 'bottom'. |
1670 | 1670 | */ |
1671 | 1671 | protected function display_tablenav( $which ) { |
| 1672 | if ( 'bottom' === $which && ! $this->has_items() ) { |
| 1673 | return; |
| 1674 | } |
1672 | 1675 | if ( 'top' === $which ) { |
1673 | 1676 | wp_nonce_field( 'bulk-' . $this->_args['plural'] ); |
1674 | 1677 | } |