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/custom-header.php

    r21508 r21944  
    559559        <input type="hidden" name="action" value="save" />
    560560        <?php wp_nonce_field( 'custom-header-upload', '_wpnonce-custom-header-upload' ); ?>
    561         <?php submit_button( __( 'Upload' ), 'button', 'submit', false ); ?>
     561        <?php submit_button( __( 'Upload' ), 'small', 'submit', false ); ?>
    562562    </p>
    563563    <?php
Note: See TracChangeset for help on using the changeset viewer.