Consolidate class attributes. Props robertaccettura. fixes #6853 for trunk

git-svn-id: http://svn.automattic.com/wordpress/trunk@7846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-04-28 15:17:55 +00:00
parent b119ab7003
commit a2220d1659
1 changed files with 2 additions and 2 deletions

View File

@ -86,11 +86,11 @@ if (empty($plugins)) {
$inactive = get_option('deactivated_plugins');
if ( !empty($active) ) {
?>
<a class="button-secondary" href="<?php echo wp_nonce_url('plugins.php?action=deactivate-all', 'deactivate-all'); ?>" class="delete"><?php _e('Deactivate All Plugins'); ?></a>
<a class="button-secondary delete" href="<?php echo wp_nonce_url('plugins.php?action=deactivate-all', 'deactivate-all'); ?>"><?php _e('Deactivate All Plugins'); ?></a>
<?php
} elseif ( empty($active) && !empty($inactive) ) {
?>
<a class="button-secondary" href="<?php echo wp_nonce_url('plugins.php?action=reactivate-all', 'reactivate-all'); ?>" class="delete"><?php _e('Reactivate Plugins'); ?></a>
<a class="button-secondary delete" href="<?php echo wp_nonce_url('plugins.php?action=reactivate-all', 'reactivate-all'); ?>"><?php _e('Reactivate Plugins'); ?></a>
<?php
} // endif active/inactive plugin check
?>