Allow bulk approval of comments from the spam queue

git-svn-id: https://develop.svn.wordpress.org/trunk@10067 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2008-12-05 09:29:10 +00:00
parent 355b63c21c
commit 4ea36107fd

View File

@ -209,7 +209,7 @@ $page_links = paginate_links( array(
<?php if ( empty($comment_status) || 'approved' == $comment_status ): ?>
<option value="unapprove"><?php _e('Unapprove'); ?></option>
<?php endif; ?>
<?php if ( empty($comment_status) || 'moderated' == $comment_status ): ?>
<?php if ( empty($comment_status) || 'moderated' == $comment_status || 'spam' == $comment_status ): ?>
<option value="approve"><?php _e('Approve'); ?></option>
<?php endif; ?>
<?php if ( 'spam' != $comment_status ): ?>