$spammed++;
break;
case 'unspam':
wp_unspam_comment( $comment_id );
$unspammed++;
break;
case 'trash':
wp_trash_comment( $comment_id );
$trashed++;
break;
case 'untrash':
wp_untrash_comment( $comment_id );
$untrashed++;
break;
case 'delete':
wp_delete_comment( $comment_id );
$deleted++;
break;
} } if ( !
in_array( $doaction, array
( 'approve', 'unapprove', 'spam', 'unspam', 'trash', 'delete'
), true
) ) { $screen =
get_current_screen()->id;