From c93a11cff23e44514afe78a6214070792da3c88e Mon Sep 17 00:00:00 2001 From: Scott Basgaard Date: Thu, 24 Oct 2013 14:05:13 +0200 Subject: [PATCH] In System Status -> Templates make sure to look for template overrides in parent theme as well. --- includes/admin/views/html-admin-page-status-report.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; } }