We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f275c0 commit 98a4b2aCopy full SHA for 98a4b2a
plugins/content/vote/tmpl/rating.php
@@ -79,8 +79,7 @@
79
?>
80
<div class="content_rating" role="img" aria-label="<?php echo Text::sprintf('PLG_VOTE_STAR_RATING', $rating); ?>">
81
<?php if ($rcount) : ?>
82
- <div class="visually-hidden" itemscope itemtype="https://schema.org/Product">
83
- <span itemprop="name"><?php echo $row->title; ?></span>
+ <div class="visually-hidden">
84
<p itemprop="aggregateRating" itemscope itemtype="https://schema.org/AggregateRating">
85
<?php echo Text::sprintf('PLG_VOTE_USER_RATING', '<span itemprop="ratingValue">' . $rating . '</span>', '<span itemprop="bestRating">5</span>'); ?>
86
<meta itemprop="ratingCount" content="<?php echo $rcount; ?>">
0 commit comments