Changeset 11841 for trunk/wp-admin/edit-comments.php
- Timestamp:
- 08/19/2009 08:35:24 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit-comments.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-comments.php
r11779 r11841 304 304 if ( ( 'spam' == $comment_status || 'trash' == $comment_status) && current_user_can ('moderate_comments') ) { 305 305 wp_nonce_field('bulk-destroy', '_destroy_nonce'); 306 if ( 'spam' == $comment_status ) { ?>306 if ( 'spam' == $comment_status && current_user_can('moderate_comments') ) { ?> 307 307 <input type="submit" name="delete_all" id="delete_all" value="<?php esc_attr_e('Empty Spam'); ?>" class="button-secondary apply" /> 308 308 <?php } elseif ( 'trash' == $comment_status && current_user_can('moderate_comments') ) { ?> … … 376 376 <input type="submit" name="doaction2" id="doaction2" value="<?php esc_attr_e('Apply'); ?>" class="button-secondary apply" /> 377 377 378 <?php if ( 'spam' == $comment_status ) { ?>378 <?php if ( 'spam' == $comment_status && current_user_can('moderate_comments') ) { ?> 379 379 <input type="submit" name="delete_all2" id="delete_all2" value="<?php esc_attr_e('Empty Spam'); ?>" class="button-secondary apply" /> 380 380 <?php } elseif ( 'trash' == $comment_status && current_user_can('moderate_comments') ) { ?>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)