Make WordPress Core


Ignore:
Timestamp:
09/21/2012 07:34:23 PM (12 years ago)
Author:
nacin
Message:

Updates and fixes to the new button styles. By default, buttons are now the same size as they were in 3.4. Then there is a smaller button (designed for minor elements) and a larger button (designed for things like Publish and Save Changes). Better focus styles. props lessbloat. see #21598.

File:
1 edited

Legend:

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

    r21789 r21944  
    131131        <input type="search" name="s" value="<?php echo esc_attr($term) ?>" autofocus="autofocus" />
    132132        <label class="screen-reader-text" for="plugin-search-input"><?php _e('Search Plugins'); ?></label>
    133         <?php submit_button( __( 'Search Plugins' ), 'small', 'plugin-search-input', false ); ?>
     133        <?php submit_button( __( 'Search Plugins' ), 'button', 'plugin-search-input', false ); ?>
    134134    </form><?php
    135135}
Note: See TracChangeset for help on using the changeset viewer.