From 27bc50cef88c50199a23e5f56093bbfaa93e9d71 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Wed, 30 Sep 2015 00:46:15 +0000 Subject: [PATCH] List Tables: only hide bulk actions when there are no items, don't hide all of the extra table nav. Fixes #33824. git-svn-id: https://develop.svn.wordpress.org/trunk@34707 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-list-table.php | 6 +++--- src/wp-admin/includes/class-wp-users-list-table.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-admin/includes/class-wp-list-table.php b/src/wp-admin/includes/class-wp-list-table.php index 26a44f381c..a633752c8c 100644 --- a/src/wp-admin/includes/class-wp-list-table.php +++ b/src/wp-admin/includes/class-wp-list-table.php @@ -1141,13 +1141,14 @@ class WP_List_Table { if ( 'top' === $which ) { wp_nonce_field( 'bulk-' . $this->_args['plural'] ); } - if ( $this->has_items() ) : ?> + ?>
+ has_items() ): ?>
bulk_actions( $which ); ?>
-extra_tablenav( $which ); $this->pagination( $which ); ?> @@ -1155,7 +1156,6 @@ class WP_List_Table {
- + has_items() ) : ?>