In System Status -> Templates make sure to look for template overrides in parent theme as well.

This commit is contained in:
Scott Basgaard 2013-10-24 14:05:13 +02:00
parent 90ba359ef9
commit c93a11cff2
1 changed files with 5 additions and 1 deletions

View File

@ -458,6 +458,10 @@
$found_files[ $plugin_name ][] = '/' . $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;
}
}
}