2017-07-11 18:59:39 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Admin View: Notice - Untested extensions.
|
2018-03-06 13:58:45 +00:00
|
|
|
*
|
|
|
|
* @package WooCommerce\Admin
|
2017-07-11 18:59:39 +00:00
|
|
|
*/
|
2018-03-06 13:58:45 +00:00
|
|
|
|
2017-07-11 18:59:39 +00:00
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
|
|
exit;
|
|
|
|
}
|
|
|
|
?>
|
2018-03-05 18:59:17 +00:00
|
|
|
<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>
|