[2.3] Fixed theme check notice for core supported themes, closes #8208
This commit is contained in:
parent
bada311f9a
commit
be0f93f112
|
@ -167,7 +167,7 @@ class WC_Admin_Notices {
|
||||||
* Show the Theme Check notice
|
* Show the Theme Check notice
|
||||||
*/
|
*/
|
||||||
public function theme_check_notice() {
|
public function theme_check_notice() {
|
||||||
if ( ! current_theme_supports( 'woocommerce' ) ) {
|
if ( ! current_theme_supports( 'woocommerce' ) && ! in_array( get_option( 'template' ), wc_get_core_supported_themes() ) ) {
|
||||||
include( 'views/html-notice-theme-support.php' );
|
include( 'views/html-notice-theme-support.php' );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue