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

git-svn-id: http://svn.automattic.com/wordpress/trunk@16061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith
2010-10-28 21:56:43 +00:00
parent 15b56af964
commit fc6e89da45
56 changed files with 197 additions and 164 deletions

View File

@@ -287,7 +287,7 @@ class WP_Plugins_Table extends WP_List_Table {
if ( 'recently_activated' == $status ) { ?>
<div class="alignleft actions">
<input type="submit" name="clear-recent-list" value="<?php esc_attr_e( 'Clear List' ) ?>" class="button-secondary" />
<?php submit_button( __( 'Clear List' ), 'secondary', 'clear-recent-list', false ); ?>
</div>
<?php }
}