Merge pull request #28379 from woocommerce/revert-28233-fix/template-names

Revert "Load product category content with content-product-cat.php"
This commit is contained in:
Claudio Sanches 2020-11-23 21:18:02 -03:00 committed by GitHub
commit 5d26b71d5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -220,7 +220,7 @@ class WC_Shortcodes {
foreach ( $product_categories as $category ) {
wc_get_template(
'content-product-cat.php',
'content-product_cat.php',
array(
'category' => $category,
)

View File

@ -2491,7 +2491,7 @@ if ( ! function_exists( 'woocommerce_output_product_categories' ) ) {
foreach ( $product_categories as $category ) {
wc_get_template(
'content-product-cat.php',
'content-product_cat.php',
array(
'category' => $category,
)