Added missing schema markup

Second attempt, fixed spacing of previous added values
This commit is contained in:
Yaku 2020-02-14 10:18:37 +02:00
parent 0a24ea44ea
commit 816b3b3251
1 changed files with 4 additions and 4 deletions

View File

@ -304,10 +304,10 @@ class WC_Structured_Data {
$markup['review'][] = array(
'@type' => 'Review',
'reviewRating' => array(
'@type' => 'Rating',
'bestRating' => '5',
'ratingValue' => get_comment_meta( $comment->comment_ID, 'rating', true ),
'worstRating' => '1',
'@type' => 'Rating',
'bestRating' => '5',
'ratingValue' => get_comment_meta( $comment->comment_ID, 'rating', true ),
'worstRating' => '1',
),
'author' => array(
'@type' => 'Person',