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

Product categories list block hierarchy display fix #4920

Merged
merged 1 commit into from
Oct 12, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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