mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 00:01:27 +01:00
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:
parent
b119ab7003
commit
a2220d1659
@ -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
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user