Skip to content

Commit

Permalink
Update rating.php
Browse files Browse the repository at this point in the history
remove itemscope redefinition
  • Loading branch information
conseilgouz committed Mar 3, 2024
1 parent 822a581 commit 6c0a5fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/content/vote/tmpl/rating.php
Expand Up @@ -79,7 +79,7 @@
?>
<div class="content_rating" role="img" aria-label="<?php echo Text::sprintf('PLG_VOTE_STAR_RATING', $rating); ?>">
<?php if ($rcount) : ?>
<div class="visually-hidden" itemscope="itemscope" itemtype="https://schema.org/Product">
<div class="visually-hidden" itemscope itemtype="https://schema.org/Product">
<span itemprop="name"><?php echo $row->title; ?></span>
<p class="visually-hidden" itemprop="aggregateRating" itemscope itemtype="https://schema.org/AggregateRating">
<?php echo Text::sprintf('PLG_VOTE_USER_RATING', '<span itemprop="ratingValue">' . $rating . '</span>', '<span itemprop="bestRating">5</span>'); ?>
Expand Down

0 comments on commit 6c0a5fb

Please sign in to comment.