woocommerce/woocommerce-blocks#4625 product categories list block hierarchy display fix (https://github.com/woocommerce/woocommerce-blocks/pull/4920)
This commit is contained in:
parent
0f4161aff9
commit
d6e0729c79
|
@ -256,7 +256,7 @@ class ProductCategories extends AbstractDynamicBlock {
|
|||
foreach ( $categories as $category ) {
|
||||
$output .= '
|
||||
<option value="' . esc_attr( get_term_link( $category->term_id, 'product_cat' ) ) . '">
|
||||
' . str_repeat( '-', $depth ) . '
|
||||
' . str_repeat( '−', $depth ) . '
|
||||
' . esc_html( $category->name ) . '
|
||||
' . $this->getCount( $category, $attributes ) . '
|
||||
</option>
|
||||
|
|
Loading…
Reference in New Issue