Do not escape output of wc_get_rating_html.

This commit is contained in:
Gerhard 2019-01-29 12:18:05 +02:00
parent 00a93ae8f0
commit 5317be3206
1 changed files with 1 additions and 1 deletions

View File

@ -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(); ?>