Changeset 12250
- Timestamp:
- 11/17/2022 11:57:53 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-reviews.php
r10000 r12250 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 ); 42 43 ?> 43 44 <article class="plugin-review"> … … 53 54 <span class="review-author author vcard"><?php the_author_posts_link(); ?></span> 54 55 <span class="review-date"><?php echo date_i18n( get_option( 'date_format' ), strtotime( $review->post_modified ) ); ?></span> 56 <?php if ( $reply_count ) : ?> 57 <span class="review-replies"><?php printf( _n( '%s reply', '%s replies', $reply_count, 'wporg-plugins' ), number_format_i18n( $reply_count ) ); ?></span> 58 <?php endif; ?> 55 59 </div> 56 60 </header>
Note: See TracChangeset
for help on using the changeset viewer.