WordPress.org

Make WordPress Core

Ticket #20123: class-wp-comments-list-table.php.diff

File class-wp-comments-list-table.php.diff, 749 bytes (added by russellwwest, 4 years ago)
  • wp-admin/includes/class-wp-comments-list-table.php

     
    186186                $actions = array(); 
    187187                if ( in_array( $comment_status, array( 'all', 'approved' ) ) ) 
    188188                        $actions['unapprove'] = __( 'Unapprove' ); 
    189                 if ( in_array( $comment_status, array( 'all', 'moderated', 'spam' ) ) ) 
     189                if ( in_array( $comment_status, array( 'all', 'moderated' ) ) ) 
    190190                        $actions['approve'] = __( 'Approve' ); 
    191191                if ( in_array( $comment_status, array( 'all', 'moderated', 'approved' ) ) ) 
    192192                        $actions['spam'] = _x( 'Mark as Spam', 'comment' );