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:
commit
5d26b71d5f
|
@ -220,7 +220,7 @@ class WC_Shortcodes {
|
||||||
|
|
||||||
foreach ( $product_categories as $category ) {
|
foreach ( $product_categories as $category ) {
|
||||||
wc_get_template(
|
wc_get_template(
|
||||||
'content-product-cat.php',
|
'content-product_cat.php',
|
||||||
array(
|
array(
|
||||||
'category' => $category,
|
'category' => $category,
|
||||||
)
|
)
|
||||||
|
|
|
@ -2491,7 +2491,7 @@ if ( ! function_exists( 'woocommerce_output_product_categories' ) ) {
|
||||||
|
|
||||||
foreach ( $product_categories as $category ) {
|
foreach ( $product_categories as $category ) {
|
||||||
wc_get_template(
|
wc_get_template(
|
||||||
'content-product-cat.php',
|
'content-product_cat.php',
|
||||||
array(
|
array(
|
||||||
'category' => $category,
|
'category' => $category,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue