WordPress.org

Make WordPress Core

Changeset 29123


Ignore:
Timestamp:
07/12/14 17:44:51 (3 years ago)
Author:
SergeyBiryukov
Message:

Use correct ID for plugin search input label.

Make the search button name and ID consistent with the ones in WP_List_Table::search_box().

props joedolson.
fixes #28856.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/plugin-install.php

    r29040 r29123  
    174174        </select> 
    175175        <?php endif; ?> 
    176         <input type="search" name="s" value="<?php echo esc_attr($term) ?>" autofocus="autofocus" /> 
     176        <input type="search" name="s" id="plugin-search-input" value="<?php echo esc_attr($term) ?>" autofocus="autofocus" /> 
    177177        <label class="screen-reader-text" for="plugin-search-input"><?php _e('Search Plugins'); ?></label> 
    178         <?php submit_button( __( 'Search Plugins' ), 'button', 'plugin-search-input', false ); ?> 
     178        <?php submit_button( __( 'Search Plugins' ), 'button', false, false, array( 'id' => 'search-submit' ) ); ?> 
    179179    </form><?php 
    180180} 
Note: See TracChangeset for help on using the changeset viewer.