diff --git a/wp-admin/includes/class-wp-media-list-table.php b/wp-admin/includes/class-wp-media-list-table.php
index 170ec5a..b73ba82 100644
a
|
b
|
class WP_Media_List_Table extends WP_List_Table { |
177 | 177 | submit_button( __( 'Filter' ), 'button', 'filter_action', false, array( 'id' => 'post-query-submit' ) ); |
178 | 178 | } |
179 | 179 | |
180 | | if ( $this->is_trash && current_user_can( 'edit_others_posts' ) ) { |
| 180 | if ( $this->is_trash && current_user_can( 'edit_others_posts' ) && $this->has_items() ) { |
181 | 181 | submit_button( __( 'Empty Trash' ), 'apply', 'delete_all', false ); |
182 | 182 | } ?> |
183 | 183 | </div> |