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. Built from https://develop.svn.wordpress.org/trunk@29123 git-svn-id: http://core.svn.wordpress.org/trunk@28908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d993855458
commit
60a0b3b17d
|
@ -173,9 +173,9 @@ function install_search_form( $type_selector = true ) {
|
|||
<option value="tag"<?php selected('tag', $type) ?>><?php _ex('Tag', 'Plugin Installer'); ?></option>
|
||||
</select>
|
||||
<?php endif; ?>
|
||||
<input type="search" name="s" value="<?php echo esc_attr($term) ?>" autofocus="autofocus" />
|
||||
<input type="search" name="s" id="plugin-search-input" value="<?php echo esc_attr($term) ?>" autofocus="autofocus" />
|
||||
<label class="screen-reader-text" for="plugin-search-input"><?php _e('Search Plugins'); ?></label>
|
||||
<?php submit_button( __( 'Search Plugins' ), 'button', 'plugin-search-input', false ); ?>
|
||||
<?php submit_button( __( 'Search Plugins' ), 'button', false, false, array( 'id' => 'search-submit' ) ); ?>
|
||||
</form><?php
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue