Keine Beschreibung

html-notice-wp-php-minimum-requirements.php 938B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * Admin View: Notice - PHP & WP minimum requirements.
  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', WC_PHP_MIN_REQUIREMENTS_NOTICE ), 'woocommerce_hide_notices_nonce', '_wc_notice_nonce' ) ); ?>"><?php esc_html_e( 'Dismiss', 'woocommerce' ); ?></a>
  11. <p>
  12. <?php
  13. echo wp_kses_post(
  14. sprintf(
  15. $msg . '<p><a href="%s" class="button button-primary">' . __( 'Learn how to upgrade', 'woocommerce' ) . '</a></p>',
  16. add_query_arg(
  17. array(
  18. 'utm_source' => 'wpphpupdatebanner',
  19. 'utm_medium' => 'product',
  20. 'utm_campaign' => 'woocommerceplugin',
  21. 'utm_content' => 'docs',
  22. ),
  23. 'https://docs.woocommerce.com/document/update-php-wordpress/'
  24. )
  25. )
  26. );
  27. ?>
  28. </p>
  29. </div>