Add debug tools classes
This commit is contained in:
parent
753a22734f
commit
40a56e2f9e
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue