Make WordPress Core


Ignore:
Timestamp:
09/04/2008 06:00:21 PM (17 years ago)
Author:
ryan
Message:

Show all bulk ops on unfiltered comments page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-comments.php

    r8777 r8805  
    176176<select name="action">
    177177<option value="" selected="selected"><?php _e('Actions') ?></option>
    178 <?php if ( 'approved' == $comment_status ): ?>
     178<?php if ( empty($comment_status) || 'approved' == $comment_status ): ?>
    179179<option value="unapprove"><?php _e('Unapprove'); ?></option>
    180 <?php else : ?>
     180<?php endif; ?>
     181<?php if ( empty($comment_status) || 'moderated' == $comment_status ): ?>
    181182<option value="approve"><?php _e('Approve'); ?></option>
    182183<?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.