Make WordPress Core

Ticket #21598: 21598.theme-search-buttons.patch

File 21598.theme-search-buttons.patch, 1.3 KB (added by ocean90, 12 years ago)
  • wp-admin/includes/theme-install.php

     
    8181        <label class="screen-reader-text" for="s"><?php _e('Search by keyword'); ?></label>
    8282        <?php endif; ?>
    8383        <input type="search" name="s" id="s" size="30" value="<?php echo esc_attr($term) ?>" autofocus="autofocus" />
    84         <?php submit_button( __( 'Search' ), 'button', 'search', false ); ?>
     84        <?php submit_button( __( 'Search' ), 'small', 'search', false ); ?>
    8585</form>
    8686<?php
    8787}
  • wp-admin/themes.php

     
    219219<p class="search-box">
    220220        <label class="screen-reader-text" for="theme-search-input"><?php _e('Search Installed Themes'); ?>:</label>
    221221        <input type="search" id="theme-search-input" name="s" value="<?php _admin_search_query(); ?>" />
    222         <?php submit_button( __( 'Search Installed Themes' ), 'button', false, false, array( 'id' => 'search-submit' ) ); ?>
     222        <?php submit_button( __( 'Search Installed Themes' ), 'small', false, false, array( 'id' => 'search-submit' ) ); ?>
    223223        <a id="filter-click" href="?filter=1"><?php _e( 'Feature Filter' ); ?></a>
    224224</p>
    225225