Ticket #2101: meta-2101.patch
File meta-2101.patch, 1.7 KB (added by , 9 years ago) |
---|
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-forums/bbpress/loop-posts.php
23 23 24 24 <?php if ( 'topic' == get_post_type() ) : ?> 25 25 26 <div id="post-<?php bbp_topic_id(); ?>" class="bbp-topic-header"> 27 <div class="bbp-meta"> 28 <span class="bbp-header"> 29 <?php esc_html_e( 'In forum: ', 'wporg-forums' ); ?> 30 <a class="bbp-forum-permalink" href="<?php bbp_forum_permalink( bbp_get_topic_forum_id() ); ?>"><?php bbp_forum_title( bbp_get_topic_forum_id() ); ?></a> 31 <?php esc_html_e( ' topic: ', 'wporg-forums' ); ?> 32 <?php bbp_topic_title( bbp_get_topic_id() ); ?> 33 </span> 34 </div><!-- .bbp-meta --> 35 </div><!-- #post-<?php bbp_topic_id(); ?> --> 36 26 37 <?php bbp_get_template_part( 'content', 'single-topic-lead' ); ?> 27 38 28 39 <?php // This actually works. ?> 29 40 <?php else : bbpress()->reply_query = bbpress()->topic_query; ?> 30 41 42 <div id="post-<?php bbp_reply_id(); ?>" class="bbp-reply-header"> 43 <div class="bbp-meta"> 44 <span class="bbp-header"> 45 <?php esc_html_e( 'In reply to: ', 'wporg-forums' ); ?> 46 <a class="bbp-topic-permalink" href="<?php bbp_topic_permalink( bbp_get_reply_topic_id() ); ?>"><?php bbp_topic_title( bbp_get_reply_topic_id() ); ?></a> 47 </span> 48 </div><!-- .bbp-meta --> 49 </div><!-- #post-<?php bbp_reply_id(); ?> --> 50 31 51 <?php bbp_get_template_part( 'loop', 'single-reply' ); ?> 32 52 33 53 <?php endif; ?>