correct escaping

This commit is contained in:
Mike Jolley 2017-07-17 18:13:18 +01:00
parent 8c17027eb6
commit 809ff9c31d
1 changed files with 2 additions and 7 deletions

View File

@ -2,19 +2,14 @@
/** /**
* Admin View: Notice - Untested extensions. * Admin View: Notice - Untested extensions.
*/ */
if ( ! defined( 'ABSPATH' ) ) { if ( ! defined( 'ABSPATH' ) ) {
exit; exit;
} }
?> ?>
<p class="wc_plugin_upgrade_notice extensions_warning <?php echo esc_attr( $upgrade_type ) ?>"> <p class="wc_plugin_upgrade_notice extensions_warning <?php echo esc_attr( $upgrade_type ) ?>">
<strong> <strong><?php echo esc_html( $message ) ?></strong><br />
<?php echo wc_clean( $message ) ?>
</strong><br />
<?php foreach ( $plugins as $plugin ): ?> <?php foreach ( $plugins as $plugin ): ?>
<span><?php echo wc_clean( $plugin['Name'] ); ?></span> <span><?php echo esc_html( $plugin['Name'] ); ?></span>
<?php endforeach ?> <?php endforeach ?>
</p> </p>