Changeset 9600 for sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-ratings-compat.php
- Timestamp:
- 03/17/2020 11:49:28 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-ratings-compat.php
r9251 r9600 189 189 add_filter( 'bbp_get_topic_last_topic_title', array( $this, 'undo_topic_title' ), 10, 1 ); 190 190 ?> 191 <link itemprop="applicationCategory" href="http://schema.org/OtherApplication" /> 192 <span itemprop="offers" itemscope itemtype="http://schema.org/Offer"> 193 <meta itemprop="price" content="0.00" /> 194 <meta itemprop="priceCurrency" content="USD" /> 195 <span itemprop="seller" itemscope itemtype="http://schema.org/Organization"> 196 <span itemprop="name" content="WordPress.org"></span> 197 </span> 198 </span> 199 200 <div class="review-ratings" itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating"> 191 <div class="review-ratings"> 201 192 <div class="col-3"> 202 <div class="reviews-about" style="display:none;" itemprop="itemReviewed"><?php echo esc_html( $this->object->post_title ); ?></div>193 <div class="reviews-about" style="display:none;"><?php echo esc_html( $this->object->post_title ); ?></div> 203 194 <div class="reviews-total-count"><?php 204 195 printf( 205 196 /* translators: %s: number of reviews */ 206 197 _n( '%s review', '%s reviews', $this->reviews_count, 'wporg-forums' ), 207 '<span itemprop="reviewCount">' . number_format_i18n( $this->reviews_count ) . '</span>'198 '<span>' . number_format_i18n( $this->reviews_count ) . '</span>' 208 199 ); 209 200 ?></div> … … 253 244 __( '%1$s out of %2$s stars', 'wporg-forums' ), 254 245 round( isset( $this->avg_rating ) ? $this->avg_rating : 0, 1 ), 255 '<span itemprop="bestRating">5</span>'246 '<span>5</span>' 256 247 ); 257 248 ?>
Note: See TracChangeset
for help on using the changeset viewer.