Make WordPress Core


Ignore:
Timestamp:
09/21/2012 07:34:23 PM (11 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/class-wp-list-table.php

    r21914 r21944  
    219219    <label class="screen-reader-text" for="<?php echo $input_id ?>"><?php echo $text; ?>:</label>
    220220    <input type="search" id="<?php echo $input_id ?>" name="s" value="<?php _admin_search_query(); ?>" />
    221     <?php submit_button( $text, 'small', false, false, array('id' => 'search-submit') ); ?>
     221    <?php submit_button( $text, 'button', false, false, array('id' => 'search-submit') ); ?>
    222222</p>
    223223<?php
     
    302302        echo "</select>\n";
    303303
    304         submit_button( __( 'Apply' ), 'small action', false, false, array( 'id' => "doaction$two" ) );
     304        submit_button( __( 'Apply' ), 'action', false, false, array( 'id' => "doaction$two" ) );
    305305        echo "\n";
    306306    }
Note: See TracChangeset for help on using the changeset viewer.