replaced esc_attr by sanitize_html_class

This commit is contained in:
Remi Corson 2015-06-15 09:30:09 +02:00
parent 61d7b156f4
commit 32a22b3337
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ if ( ! defined( 'ABSPATH' ) ) {
</thead>
<tbody class="tools">
<?php foreach ( $tools as $action => $tool ) : ?>
<tr class="<?php echo esc_attr( $action ); ?>">
<tr class="<?php echo sanitize_html_class( $action ); ?>">
<td><?php echo esc_html( $tool['name'] ); ?></td>
<td>
<p>