WordPress.org

Make WordPress Core

Changeset 16861


Ignore:
Timestamp:
12/10/2010 06:40:48 PM (10 years ago)
Author:
scribu
Message:

Don't show search box if there are no themes available. See #15353

File:
1 edited

Legend:

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

    r16817 r16861  
    144144}
    145145?>
     146
    146147<h3><?php _e('Available Themes'); ?></h3>
    147148
     149<?php if ( $wp_list_table->has_items() ) : ?>
     150
    148151<form class="search-form filter-form" action="" method="get">
     152
    149153<p class="search-box">
    150154    <label class="screen-reader-text" for="theme-search-input"><?php _e('Search Themes'); ?>:</label>
     
    195199<br class="clear" />
    196200
     201<?php endif; ?>
     202
    197203<?php $wp_list_table->display(); ?>
    198204
Note: See TracChangeset for help on using the changeset viewer.