WordPress.org

Make WordPress Core

Changeset 17151


Ignore:
Timestamp:
12/26/2010 09:49:51 PM (7 years ago)
Author:
ryan
Message:

Give search submit buttons a unique ID. Props dd32. fixes #15979

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-list-table.php

    r17139 r17151  
    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="" />
Note: See TracChangeset for help on using the changeset viewer.