diff --git a/plugins/woocommerce-blocks/src/BlockTypes/ProductCategories.php b/plugins/woocommerce-blocks/src/BlockTypes/ProductCategories.php index a432ac87256..1cb07d2782e 100644 --- a/plugins/woocommerce-blocks/src/BlockTypes/ProductCategories.php +++ b/plugins/woocommerce-blocks/src/BlockTypes/ProductCategories.php @@ -322,9 +322,12 @@ class ProductCategories extends AbstractDynamicBlock { foreach ( $categories as $category ) { $output .= '
  • - ' . $this->get_image_html( $category, $attributes ) . esc_html( $category->name ) . ' - ' . $this->getCount( $category, $attributes ) . ' - ' . ( ! empty( $category->children ) ? $this->renderList( $category->children, $attributes, $uid, $depth + 1 ) : '' ) . ' + ' + . $this->get_image_html( $category, $attributes ) + . '' . esc_html( $category->name ) . '' + . '' + . $this->getCount( $category, $attributes ) + . ( ! empty( $category->children ) ? $this->renderList( $category->children, $attributes, $uid, $depth + 1 ) : '' ) . '
  • '; }