correct escaping
This commit is contained in:
parent
8c17027eb6
commit
809ff9c31d
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue