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:
@@ -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 }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user