Changeset 12162 for trunk/wp-admin/edit-comments.php
- Timestamp:
- 11/10/2009 10:38:19 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit-comments.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-comments.php
r12008 r12162 164 164 'trash' => _n_noop('Trash <span class="count">(<span class="trash-count">%s</span>)</span>', 'Trash <span class="count">(<span class="trash-count">%s</span>)</span>') 165 165 ); 166 167 if ( !EMPTY_TRASH_DAYS ) 168 unset($stati['trash']); 169 166 170 $link = 'edit-comments.php'; 167 171 if ( !empty($comment_type) && 'all' != $comment_type ) 168 172 $link = add_query_arg( 'comment_type', $comment_type, $link ); 173 169 174 foreach ( $stati as $status => $label ) { 170 175 $class = ''; … … 276 281 <option value="untrash"><?php _e('Restore'); ?></option> 277 282 <?php endif; ?> 278 <?php if ( 'trash' == $comment_status || 'spam' == $comment_status ): ?>283 <?php if ( 'trash' == $comment_status || 'spam' == $comment_status || !EMPTY_TRASH_DAYS ): ?> 279 284 <option value="delete"><?php _e('Delete Permanently'); ?></option> 280 285 <?php else: ?> … … 372 377 <option value="untrash"><?php _e('Restore'); ?></option> 373 378 <?php endif; ?> 374 <?php if ( 'trash' == $comment_status || 'spam' == $comment_status ): ?>379 <?php if ( 'trash' == $comment_status || 'spam' == $comment_status || !EMPTY_TRASH_DAYS ): ?> 375 380 <option value="delete"><?php _e('Delete Permanently'); ?></option> 376 381 <?php else: ?>
Note: See TracChangeset
for help on using the changeset viewer.