diff --git wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-reviews.php wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-reviews.php
index 049a66d92..d3d2f8eeb 100644
|
|
class Reviews { |
39 | 39 | foreach ( $reviews as $review ) { |
40 | 40 | $GLOBALS['post'] = $review; // Override the_post(); |
41 | 41 | setup_postdata( $review ); |
| 42 | $reply_count = (int)get_post_meta( $review->ID, '_bbp_reply_count', true ) ; |
| 43 | |
42 | 44 | ?> |
43 | 45 | <article class="plugin-review"> |
44 | 46 | <div class="review-avatar"> |
… |
… |
class Reviews { |
47 | 49 | <header> |
48 | 50 | <div class="header-top"> |
49 | 51 | <?php echo Template::dashicons_stars( $review->post_rating ); ?> |
50 | | <h3 class="review-title"><a class="url" href="<?php echo esc_url( 'https://wordpress.org/support/topic/' . $review->post_name . '/' ); ?>"><?php echo get_the_title( $review ); ?></a></h3> |
| 52 | <h3 class="review-title"> |
| 53 | <a class="url" href="<?php echo esc_url( 'https://wordpress.org/support/topic/' . $review->post_name . '/' ); ?>"><?php echo get_the_title( $review ); ?></a> |
| 54 | <span class="review-title-comments"> |
| 55 | <?php printf( _n( '%s Comment', '%s Comments', $reply_count, 'wporg-plugins' ), number_format_i18n( $reply_count ) ); ?> |
| 56 | </span> |
| 57 | </h3> |
51 | 58 | </div> |
52 | 59 | <div class="header-bottom"> |
53 | 60 | <span class="review-author author vcard"><?php the_author_posts_link(); ?></span> |
diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/plugin/sections/reviews/style.scss wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/plugin/sections/reviews/style.scss
index 6244018a5..a76a7ad21 100644
|
|
|
49 | 49 | line-height: 1.25; |
50 | 50 | } |
51 | 51 | |
| 52 | .review-title-comments { |
| 53 | padding-left: 8px; |
| 54 | font-size: 13px; |
| 55 | font-weight: normal; |
| 56 | font-style: italic; |
| 57 | color: #666; |
| 58 | } |
| 59 | |
52 | 60 | .review-author, |
53 | 61 | .review-date { |
54 | 62 | line-height: 1.25; |