- Timestamp:
- 05/03/2021 01:55:08 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-comments-list-table.php
r50768 r50804 414 414 } 415 415 416 if ( ( 'spam' === $comment_status || 'trash' === $comment_status ) && current_user_can( 'moderate_comments' ) && $has_items ) { 416 if ( ( 'spam' === $comment_status || 'trash' === $comment_status ) && $has_items 417 && current_user_can( 'moderate_comments' ) 418 ) { 417 419 wp_nonce_field( 'bulk-destroy', '_destroy_nonce' ); 418 420 $title = ( 'spam' === $comment_status ) ? esc_attr__( 'Empty Spam' ) : esc_attr__( 'Empty Trash' );
Note: See TracChangeset
for help on using the changeset viewer.