Changeset 11778 for trunk/wp-admin/edit-comments.php
- Timestamp:
- 08/05/2009 11:50:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-comments.php
r11763 r11778 306 306 if ( 'spam' == $comment_status ) { ?> 307 307 <input type="submit" name="delete_all" id="delete_all" value="<?php esc_attr_e('Empty Spam'); ?>" class="button-secondary apply" /> 308 <?php } elseif ( 'trash' == $comment_status ) { ?>308 <?php } elseif ( 'trash' == $comment_status && current_user_can('moderate_comments') ) { ?> 309 309 <input type="submit" name="delete_all" id="delete_all" value="<?php esc_attr_e('Empty Trash'); ?>" class="button-secondary apply" /> 310 310 <?php } … … 378 378 <?php if ( 'spam' == $comment_status ) { ?> 379 379 <input type="submit" name="delete_all2" id="delete_all2" value="<?php esc_attr_e('Empty Spam'); ?>" class="button-secondary apply" /> 380 <?php } elseif ( 'trash' == $comment_status ) { ?>380 <?php } elseif ( 'trash' == $comment_status && current_user_can('moderate_comments') ) { ?> 381 381 <input type="submit" name="delete_all2" id="delete_all2" value="<?php esc_attr_e('Empty Trash'); ?>" class="button-secondary apply" /> 382 382 <?php } ?>
Note: See TracChangeset
for help on using the changeset viewer.