Do not escape output of wc_get_rating_html.
This commit is contained in:
parent
00a93ae8f0
commit
5317be3206
|
@ -34,7 +34,7 @@ if ( ! is_a( $product, 'WC_Product' ) ) {
|
|||
</a>
|
||||
|
||||
<?php if ( ! empty( $show_rating ) ) : ?>
|
||||
<?php echo wp_kses_post( wc_get_rating_html( $product->get_average_rating() ) ); ?>
|
||||
<?php echo wc_get_rating_html( $product->get_average_rating() ); // PHPCS:Ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo $product->get_price_html(); ?>
|
||||
|
|
Loading…
Reference in New Issue