fixed theme-support notice closes #7196

This commit is contained in:
splashingpixels 2015-01-23 08:15:31 -08:00
parent 72f30625f6
commit 6c61bf8c4c
1 changed files with 3 additions and 1 deletions

View File

@ -154,7 +154,9 @@ class WC_Admin_Notices {
* Show the Theme Check notice
*/
public function theme_check_notice() {
include( 'views/html-notice-theme-support.php' );
if ( ! current_theme_supports( 'woocommerce' ) ) {
include( 'views/html-notice-theme-support.php' );
}
}
/**