html-notice-secure-connection.php 853 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * Admin View: Notice - Secure connection.
  4. *
  5. * @package WooCommerce\Admin\Notices
  6. */
  7. defined( 'ABSPATH' ) || exit;
  8. ?>
  9. <div id="message" class="updated woocommerce-message">
  10. <a class="woocommerce-message-close notice-dismiss" href="<?php echo esc_url( wp_nonce_url( add_query_arg( 'wc-hide-notice', 'no_secure_connection' ), 'woocommerce_hide_notices_nonce', '_wc_notice_nonce' ) ); ?>"><?php esc_html_e( 'Dismiss', 'woocommerce' ); ?></a>
  11. <p>
  12. <?php
  13. echo wp_kses_post( sprintf(
  14. /* translators: %s: documentation URL */
  15. __( 'Your store does not appear to be using a secure connection. We highly recommend serving your entire website over an HTTPS connection to help keep customer data secure. <a href="%s">Learn more here.</a>', 'woocommerce' ),
  16. 'https://docs.woocommerce.com/document/ssl-and-https/'
  17. ) );
  18. ?>
  19. </p>
  20. </div>