Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
#4625 product categories list block hierarchy display fix (#4920)
Browse files Browse the repository at this point in the history
  • Loading branch information
ovidiul authored and opr committed Oct 12, 2021
1 parent 331536c commit 38cad0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BlockTypes/ProductCategories.php
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ protected function renderDropdownOptions( $categories, $attributes, $uid, $depth
foreach ( $categories as $category ) {
$output .= '
<option value="' . esc_attr( get_term_link( $category->term_id, 'product_cat' ) ) . '">
' . str_repeat( '-', $depth ) . '
' . str_repeat( '&minus;', $depth ) . '
' . esc_html( $category->name ) . '
' . $this->getCount( $category, $attributes ) . '
</option>
Expand Down

0 comments on commit 38cad0c

Please sign in to comment.