html-notice-untested-extensions-inline.php 776 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * Admin View: Notice - Untested extensions.
  4. *
  5. * @package WooCommerce\Admin
  6. */
  7. if ( ! defined( 'ABSPATH' ) ) {
  8. exit;
  9. }
  10. ?>
  11. <div class="wc_plugin_upgrade_notice extensions_warning <?php echo esc_attr( $upgrade_type ); ?>">
  12. <p><?php echo wp_kses_post( $message ); ?></p>
  13. <table class="plugin-details-table" cellspacing="0">
  14. <thead>
  15. <tr>
  16. <th><?php esc_html_e( 'Plugin', 'woocommerce' ); ?></th>
  17. <th><?php esc_html_e( 'Tested up to WooCommerce version', 'woocommerce' ); ?></th>
  18. </tr>
  19. </thead>
  20. <tbody>
  21. <?php foreach ( $plugins as $plugin ) : ?>
  22. <tr>
  23. <td><?php echo esc_html( $plugin['Name'] ); ?></td>
  24. <td><?php echo esc_html( $plugin['WC tested up to'] ); ?></td>
  25. </tr>
  26. <?php endforeach ?>
  27. </tbody>
  28. </table>
  29. </div>