diff --git a/includes/admin/views/html-admin-page-status-report.php b/includes/admin/views/html-admin-page-status-report.php index b117bca1ceb..777daf1d781 100644 --- a/includes/admin/views/html-admin-page-status-report.php +++ b/includes/admin/views/html-admin-page-status-report.php @@ -456,7 +456,11 @@ foreach ( $files as $file ) { if ( file_exists( get_stylesheet_directory() . '/' . $file ) ) { $found_files[ $plugin_name ][] = '/' . $file; - } elseif( file_exists( get_stylesheet_directory() . '/woocommerce/' . $file ) ) { + } elseif ( file_exists( get_stylesheet_directory() . '/woocommerce/' . $file ) ) { + $found_files[ $plugin_name ][] = '/woocommerce/' . $file; + } elseif ( file_exists( get_template_directory() . '/' . $file ) ) { + $found_files[ $plugin_name ][] = '/' . $file; + } elseif( file_exists( get_template_directory() . '/woocommerce/' . $file ) ) { $found_files[ $plugin_name ][] = '/woocommerce/' . $file; } }