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
This commit is contained in:
Scott Taylor
2015-09-30 00:46:15 +00:00
parent 2b8df0b47a
commit 27bc50cef8
2 changed files with 4 additions and 4 deletions
@@ -1141,13 +1141,14 @@ class WP_List_Table {
if ( 'top' === $which ) {
wp_nonce_field( 'bulk-' . $this->_args['plural'] );
}
if ( $this->has_items() ) : ?>
?>
<div class="tablenav <?php echo esc_attr( $which ); ?>">
<?php if ( $this->has_items() ): ?>
<div class="alignleft actions bulkactions">
<?php $this->bulk_actions( $which ); ?>
</div>
<?php
<?php endif;
$this->extra_tablenav( $which );
$this->pagination( $which );
?>
@@ -1155,7 +1156,6 @@ class WP_List_Table {
<br class="clear" />
</div>
<?php
endif;
}
/**