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
Browse files Browse the repository at this point in the history
  • Loading branch information
ovidiul committed Oct 8, 2021
1 parent c9570c0 commit da2ff4d
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 da2ff4d

Please sign in to comment.