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

File class-wp-comments-list-table.php.diff, 749 bytes (added by russellwwest, 15 months ago)
Line 
1Index: wp-admin/includes/class-wp-comments-list-table.php
2===================================================================
3--- wp-admin/includes/class-wp-comments-list-table.php  (revision 19998)
4+++ wp-admin/includes/class-wp-comments-list-table.php  (working copy)
5@@ -186,7 +186,7 @@
6                $actions = array();
7                if ( in_array( $comment_status, array( 'all', 'approved' ) ) )
8                        $actions['unapprove'] = __( 'Unapprove' );
9-               if ( in_array( $comment_status, array( 'all', 'moderated', 'spam' ) ) )
10+               if ( in_array( $comment_status, array( 'all', 'moderated' ) ) )
11                        $actions['approve'] = __( 'Approve' );
12                if ( in_array( $comment_status, array( 'all', 'moderated', 'approved' ) ) )
13                        $actions['spam'] = _x( 'Mark as Spam', 'comment' );