[2.3] Fixed theme check notice for core supported themes, closes #8208

This commit is contained in:
Claudio Sanches 2015-05-22 13:52:18 -03:00
parent bada311f9a
commit be0f93f112
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ class WC_Admin_Notices {
* Show the 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' );
}
}