From 882c34d555b9232686076adae7486a9f3939624f Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Wed, 30 Sep 2015 00:47:27 +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. Built from https://develop.svn.wordpress.org/trunk@34707 git-svn-id: http://core.svn.wordpress.org/trunk@34671 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-list-table.php | 6 +++--- wp-admin/includes/class-wp-users-list-table.php | 2 +- wp-includes/version.php | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-admin/includes/class-wp-list-table.php b/wp-admin/includes/class-wp-list-table.php index 26a44f381c..a633752c8c 100644 --- a/wp-admin/includes/class-wp-list-table.php +++ b/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() ) : ?>