- Timestamp:
- 03/17/2017 04:53:08 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-posts-list-table.php
r39956 r40297 490 490 } 491 491 492 if ( $this->is_trash && current_user_can( get_post_type_object( $this->screen->post_type )->cap->edit_others_posts ) ) {492 if ( $this->is_trash && current_user_can( get_post_type_object( $this->screen->post_type )->cap->edit_others_posts ) && $this->has_items() ) { 493 493 submit_button( __( 'Empty Trash' ), 'apply', 'delete_all', false ); 494 494 }
Note: See TracChangeset
for help on using the changeset viewer.