Show all bulk ops on unfiltered comments page

git-svn-id: https://develop.svn.wordpress.org/trunk@8805 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-09-04 18:00:21 +00:00
parent 3bcb702d2d
commit f21bba6c19
1 changed files with 3 additions and 2 deletions

View File

@ -175,9 +175,10 @@ if ( $page_links )
<div class="alignleft">
<select name="action">
<option value="" selected="selected"><?php _e('Actions') ?></option>
<?php if ( 'approved' == $comment_status ): ?>
<?php if ( empty($comment_status) || 'approved' == $comment_status ): ?>
<option value="unapprove"><?php _e('Unapprove'); ?></option>
<?php else : ?>
<?php endif; ?>
<?php if ( empty($comment_status) || 'moderated' == $comment_status ): ?>
<option value="approve"><?php _e('Approve'); ?></option>
<?php endif; ?>
<?php if ( 'spam' != $comment_status ): ?>