Add debug tools classes

This commit is contained in:
Remi Corson 2015-06-12 15:07:01 +02:00
parent 753a22734f
commit 40a56e2f9e
1 changed files with 2 additions and 2 deletions

View File

@ -20,11 +20,11 @@ if ( ! defined( 'ABSPATH' ) ) {
</thead>
<tbody class="tools">
<?php foreach ( $tools as $action => $tool ) : ?>
<tr>
<tr class="<?php echo $action; ?>">
<td><?php echo esc_html( $tool['name'] ); ?></td>
<td>
<p>
<a href="<?php echo wp_nonce_url( admin_url('admin.php?page=wc-status&tab=tools&action=' . $action ), 'debug_action' ); ?>" class="button"><?php echo esc_html( $tool['button'] ); ?></a>
<a href="<?php echo wp_nonce_url( admin_url('admin.php?page=wc-status&tab=tools&action=' . $action ), 'debug_action' ); ?>" class="button <?php echo $action; ?>"><?php echo esc_html( $tool['button'] ); ?></a>
<span class="description"><?php echo wp_kses_post( $tool['desc'] ); ?></span>
</p>
</td>