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

29 lines
740 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 ) ?>">
2017-08-21 14:53:08 +00:00
<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>