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

Product Result Count block: Add support for global styles #8517

Merged
merged 5 commits into from
Mar 2, 2023
Merged
Changes from 4 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/ProductResultsCount.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ protected function render( $attributes, $content, $block ) {
$classname = isset( $attributes['className'] ) ? $attributes['className'] : '';

return sprintf(
'<div class="woocommerce wc-block-product-results-count %1$s %2$s" style="%3$s">%4$s</div>',
'<div class="woocommerce wc-block-product-results-count wp-block-woocommerce-product-results-count %1$s %2$s" style="%3$s">%4$s</div>',
esc_attr( $classes_and_styles['classes'] ),
$classname,
esc_attr( $classes_and_styles['styles'] ),
Expand Down