Merge pull request #8363 from corsonr/debug_tools_class

Add debug tools classes
This commit is contained in:
Claudio Sanches 2015-06-15 11:16:45 -03:00
commit b123dc87a3
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 sanitize_html_class( $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 esc_attr( $action ); ?>"><?php echo esc_html( $tool['button'] ); ?></a>
<span class="description"><?php echo wp_kses_post( $tool['desc'] ); ?></span>
</p>
</td>