woocommerce/includes/admin/plugin-updates/views/html-notice-untested-extens...

23 lines
574 B
PHP
Raw Normal View History

2017-07-11 18:59:39 +00:00
<?php
/**
* Admin View: Notice - Untested extensions.
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
2017-07-17 18:30:21 +00:00
<div class="wc_plugin_upgrade_notice extensions_warning <?php echo esc_attr( $upgrade_type ) ?>">
<p>
<strong><?php echo esc_html( $message ) ?></strong>
2017-07-11 18:59:39 +00:00
2017-07-17 18:30:21 +00:00
<ul>
<?php foreach ( $plugins as $plugin ) : ?>
<li><?php
/* translators: 1: plugin name 2: tested up to version */
echo esc_html( sprintf( __( '%1$s (tested up to %2$s)', 'woocommerce' ), $plugin['Name'], $plugin['WC tested up to'] ) );
?></li>
<?php endforeach ?>
</ul>
</p>
</div>