Make WordPress Core


Ignore:
Timestamp:
05/08/2010 10:10:41 AM (14 years ago)
Author:
westi
Message:

Only hide the bulk actions and not the filters when no comments. Fixes #13193.

File:
1 edited

Legend:

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

    r14493 r14512  
    294294<div class="tablenav">
    295295
    296 <?php if ( $comments ) { ?>
    297296<?php if ( $page_links ) : ?>
    298297<div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s&#8211;%s of %s' ) . '</span>%s',
     
    307306<?php endif; ?>
    308307
     308<?php if ( $comments ) : ?>
    309309<div class="alignleft actions">
    310310<select name="action">
     
    332332<input type="submit" name="doaction" id="doaction" value="<?php esc_attr_e('Apply'); ?>" class="button-secondary apply" />
    333333<?php wp_nonce_field('bulk-comments'); ?>
     334
     335<?php endif; ?>
    334336
    335337<select name="comment_type">
     
    370372
    371373<div class="clear"></div>
     374<?php if ( $comments ) { ?>
    372375
    373376<table class="widefat comments fixed" cellspacing="0">
Note: See TracChangeset for help on using the changeset viewer.