Make WordPress Core


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

    r21914 r21944  
    216216            }
    217217            do_action( 'restrict_manage_posts' );
    218             submit_button( __( 'Filter' ), 'small', false, false, array( 'id' => 'post-query-submit' ) );
     218            submit_button( __( 'Filter' ), 'button', false, false, array( 'id' => 'post-query-submit' ) );
    219219        }
    220220
    221221        if ( $this->is_trash && current_user_can( get_post_type_object( $this->screen->post_type )->cap->edit_others_posts ) ) {
    222             submit_button( __( 'Empty Trash' ), 'small apply', 'delete_all', false );
     222            submit_button( __( 'Empty Trash' ), 'apply', 'delete_all', false );
    223223        }
    224224?>
Note: See TracChangeset for help on using the changeset viewer.