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/class-wp-media-list-table.php

    r21914 r21944  
    9393
    9494            do_action( 'restrict_manage_posts' );
    95             submit_button( __( 'Filter' ), 'small', false, false, array( 'id' => 'post-query-submit' ) );
     95            submit_button( __( 'Filter' ), 'button', false, false, array( 'id' => 'post-query-submit' ) );
    9696        }
    9797
     
    9999            submit_button( __( 'Scan for lost attachments' ), 'secondary', 'find_detached', false );
    100100        } elseif ( $this->is_trash && current_user_can( 'edit_others_posts' ) ) {
    101             submit_button( __( 'Empty Trash' ), 'small apply', 'delete_all', false );
     101            submit_button( __( 'Empty Trash' ), 'apply', 'delete_all', false );
    102102        } ?>
    103103        </div>
Note: See TracChangeset for help on using the changeset viewer.