woocommerce/includes/admin/views/html-notice-template-check.php

18 lines
1.1 KiB
PHP
Raw Normal View History

<?php
/**
* Admin View: Notice - Template Check
*/
if ( ! defined( 'ABSPATH' ) ) {
2015-03-13 23:48:15 +00:00
exit;
}
2015-04-29 12:04:40 +00:00
$theme = wp_get_theme();
?>
2015-04-29 12:04:40 +00:00
<div id="message" class="updated woocommerce-message">
2016-06-03 11:22:05 +00:00
<a class="woocommerce-message-close notice-dismiss" href="<?php echo esc_url( wp_nonce_url( add_query_arg( 'wc-hide-notice', 'template_files' ), 'woocommerce_hide_notices_nonce', '_wc_notice_nonce' ) ); ?>"><?php _e( 'Dismiss', 'woocommerce' ); ?></a>
2016-07-19 10:30:31 +00:00
2016-10-27 17:36:24 +00:00
<p><?php printf( __( '<strong>Your theme (%1$s) contains outdated copies of some WooCommerce template files.</strong> These files may need updating to ensure they are compatible with the current version of WooCommerce. You can see which files are affected from the <a href="%2$s">system status page</a>. If in doubt, check with the author of the theme.', 'woocommerce' ), esc_html( $theme['Name'] ), esc_url( admin_url( 'admin.php?page=wc-status' ) ) ); ?></p>
<p class="submit"><a class="button-primary" href="https://docs.woocommerce.com/document/template-structure/" target="_blank"><?php _e( 'Learn more about templates', 'woocommerce' ); ?></a></p>
2014-09-18 13:34:21 +00:00
</div>