Make WordPress Core


Ignore:
Timestamp:
02/13/2010 08:49:27 AM (15 years ago)
Author:
nacin
Message:

Consistently hide bulk actions, filters, and subpage links on admin panels when there are no items to show. Fixes #12086

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/plugins.php

    r12996 r13100  
    634634</ul>
    635635
     636<?php if ( ! empty( $plugins ) ) { ?>
     637
    636638<div class="tablenav">
    637639<?php
     
    657659?>
    658660</div>
     661<?php } elseif ( ! empty( $all_plugins ) ) { ?>
     662<p><?php __( 'No plugins found.' ); ?></p>
     663<?php } ?>
    659664</form>
    660665
    661666<?php if ( empty($all_plugins) ) : ?>
     667<br class="clear" />
    662668<p><?php _e('You do not appear to have any plugins available at this time.') ?></p>
    663669<?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.