Show all bulk ops on unfiltered comments page

git-svn-id: http://svn.automattic.com/wordpress/trunk@8805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-09-04 18:00:21 +00:00
parent 390172ba94
commit 5a4e6f0197
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 ): ?>