Add debug tools classes
This commit is contained in:
parent
753a22734f
commit
40a56e2f9e
|
@ -20,11 +20,11 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||||
</thead>
|
</thead>
|
||||||
<tbody class="tools">
|
<tbody class="tools">
|
||||||
<?php foreach ( $tools as $action => $tool ) : ?>
|
<?php foreach ( $tools as $action => $tool ) : ?>
|
||||||
<tr>
|
<tr class="<?php echo $action; ?>">
|
||||||
<td><?php echo esc_html( $tool['name'] ); ?></td>
|
<td><?php echo esc_html( $tool['name'] ); ?></td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<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>
|
<span class="description"><?php echo wp_kses_post( $tool['desc'] ); ?></span>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Reference in New Issue