WordPress.org

Make WordPress Core

Ticket #15979: 15979.diff

File 15979.diff, 783 bytes (added by dd32, 4 years ago)

s/#submit/#search-submit/ for search submit buttons on listing tables.

  • wp-admin/includes/class-wp-list-table.php

     
    197197<p class="search-box"> 
    198198        <label class="screen-reader-text" for="<?php echo $input_id ?>"><?php echo $text; ?>:</label> 
    199199        <input type="text" id="<?php echo $input_id ?>" name="s" value="<?php _admin_search_query(); ?>" /> 
    200         <?php submit_button( $text, 'button', 'submit', false ); ?> 
     200        <?php submit_button( $text, 'button', 'submit', false, array('id' => 'search-submit') ); ?> 
    201201</p> 
    202202<img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-loading list-ajax-loading" alt="" /> 
    203203<?php