WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/10/2010 08:22:34 PM (9 years ago)
Author:
scribu
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/link-manager.php

    r16847 r16868  
    7676?>
    7777
    78 <form class="search-form" action="" method="get">
     78<form id="posts-filter" action="" method="post">
     79
     80<?php if ( $wp_list_table->has_items() ) : ?>
     81
    7982<p class="search-box">
    8083    <label class="screen-reader-text" for="link-search-input"><?php _e( 'Search Links' ); ?>:</label>
     
    8285    <?php submit_button( __( 'Search Links' ), 'button', '', false ); ?>
    8386</p>
    84 </form>
    85 <br class="clear" />
    8687
    87 <form id="posts-filter" action="" method="post">
     88<?php endif; ?>
     89
    8890<?php $wp_list_table->display(); ?>
     91
    8992<div id="ajax-response"></div>
    9093</form>
Note: See TracChangeset for help on using the changeset viewer.