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-comments-list-table.php

    r21789 r21944  
    225225            </select>
    226226<?php
    227             submit_button( __( 'Filter' ), 'small', false, false, array( 'id' => 'post-query-submit' ) );
     227            submit_button( __( 'Filter' ), 'button', false, false, array( 'id' => 'post-query-submit' ) );
    228228        }
    229229
     
    231231            wp_nonce_field( 'bulk-destroy', '_destroy_nonce' );
    232232            $title = ( 'spam' == $comment_status ) ? esc_attr__( 'Empty Spam' ) : esc_attr__( 'Empty Trash' );
    233             submit_button( $title, 'small apply', 'delete_all', false );
     233            submit_button( $title, 'apply', 'delete_all', false );
    234234        }
    235235        do_action( 'manage_comments_nav', $comment_status );
Note: See TracChangeset for help on using the changeset viewer.