Fixed missing variable

This commit is contained in:
Claudio Sanches 2017-04-28 19:41:11 -03:00
parent d62e68fdb5
commit 685b999357
1 changed files with 1 additions and 1 deletions

View File

@ -2552,7 +2552,7 @@ function wc_get_rating_html( $rating ) {
if ( $rating > 0 ) {
/* translators: %s: rating */
$html = '<div class="star-rating" title="' . sprintf( esc_attr__( 'Rated %s out of 5', 'woocommerce' ), $rating ) . '">';
$html .= wc_get_star_rating_html();
$html .= wc_get_star_rating_html( $rating );
$html .= '</div>';
} else {
$html = '';