mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 12:51:58 +00:00
Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064
git-svn-id: https://develop.svn.wordpress.org/trunk@16061 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -129,7 +129,7 @@ function install_search_form(){
|
||||
</select>
|
||||
<input type="text" name="s" value="<?php echo esc_attr($term) ?>" />
|
||||
<label class="screen-reader-text" for="plugin-search-input"><?php _e('Search Plugins'); ?></label>
|
||||
<input type="submit" id="plugin-search-input" value="<?php esc_attr_e('Search Plugins'); ?>" class="button" />
|
||||
<?php submit_button( __( 'Search Plugins' ), 'button', 'plugin-search-input', false ); ?>
|
||||
</form><?php
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user