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

32 lines
776 B
PHP
Raw Normal View History

2017-07-11 18:59:39 +00:00
<?php
/**
* Admin View: Notice - Untested extensions.
*
* @package WooCommerce\Admin
2017-07-11 18:59:39 +00:00
*/
2017-07-11 18:59:39 +00:00
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<div class="wc_plugin_upgrade_notice extensions_warning <?php echo esc_attr( $upgrade_type ); ?>">
<p><?php echo wp_kses_post( $message ); ?></p>
2017-07-11 18:59:39 +00:00
2017-08-21 14:53:08 +00:00
<table class="plugin-details-table" cellspacing="0">
<thead>
<tr>
<th><?php esc_html_e( 'Plugin', 'woocommerce' ); ?></th>
2017-08-21 17:11:47 +00:00
<th><?php esc_html_e( 'Tested up to WooCommerce version', 'woocommerce' ); ?></th>
2017-08-21 14:53:08 +00:00
</tr>
</thead>
<tbody>
2017-07-17 18:30:21 +00:00
<?php foreach ( $plugins as $plugin ) : ?>
2017-08-21 14:53:08 +00:00
<tr>
<td><?php echo esc_html( $plugin['Name'] ); ?></td>
<td><?php echo esc_html( $plugin['WC tested up to'] ); ?></td>
</tr>
2017-07-17 18:30:21 +00:00
<?php endforeach ?>
2017-08-21 14:53:08 +00:00
</tbody>
</table>
2017-07-17 18:30:21 +00:00
</div>