Skip to content

Commit 98a4b2a

Browse files
authored
Revert 42934 (joomla#43827)
1 parent 2f275c0 commit 98a4b2a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plugins/content/vote/tmpl/rating.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,7 @@
7979
?>
8080
<div class="content_rating" role="img" aria-label="<?php echo Text::sprintf('PLG_VOTE_STAR_RATING', $rating); ?>">
8181
<?php if ($rcount) : ?>
82-
<div class="visually-hidden" itemscope itemtype="https://schema.org/Product">
83-
<span itemprop="name"><?php echo $row->title; ?></span>
82+
<div class="visually-hidden">
8483
<p itemprop="aggregateRating" itemscope itemtype="https://schema.org/AggregateRating">
8584
<?php echo Text::sprintf('PLG_VOTE_USER_RATING', '<span itemprop="ratingValue">' . $rating . '</span>', '<span itemprop="bestRating">5</span>'); ?>
8685
<meta itemprop="ratingCount" content="<?php echo $rcount; ?>">

0 commit comments

Comments
 (0)