Make WordPress Core


Ignore:
Timestamp:
10/28/2010 09:56:43 PM (14 years ago)
Author:
markjaquith
Message:

Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/list-table-plugins.php

    r16036 r16061  
    288288        if ( 'recently_activated' == $status ) { ?>
    289289            <div class="alignleft actions">
    290                 <input type="submit" name="clear-recent-list" value="<?php esc_attr_e( 'Clear List' ) ?>" class="button-secondary" />
     290                <?php submit_button( __( 'Clear List' ), 'secondary', 'clear-recent-list', false ); ?>
    291291            </div>
    292292        <?php }
Note: See TracChangeset for help on using the changeset viewer.