Changeset 7813 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/content-single-forum.php
- Timestamp:
- 11/01/2018 07:02:31 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/content-single-forum.php
r4841 r7813 1 1 <?php 2 3 2 /** 4 3 * Single Topic Content Part … … 13 12 14 13 <header class="page-header"> 15 <h1 class="page-title"><?php printf( __( '%s Forum', 'wporg-forums' ), bbp_get_topic_title() ); ?></h1>14 <h1 class="page-title"><?php printf( esc_html__( '%s Forum', 'wporg-forums' ), bbp_get_topic_title() ); ?></h1> 16 15 <p><?php bbp_forum_content(); ?></p> 17 16 </header> … … 31 30 <?php endif; ?> 32 31 33 <?php if ( ! bbp_is_forum_category() && bbp_has_topics() ) : ?>32 <?php if ( ! bbp_is_forum_category() && bbp_has_topics() ) : ?> 34 33 35 <?php bbp_get_template_part( 'pagination', 'topics' ); ?>34 <?php bbp_get_template_part( 'pagination', 'topics' ); ?> 36 35 37 <?php bbp_get_template_part( 'loop', 'topics'); ?>36 <?php bbp_get_template_part( 'loop', 'topics' ); ?> 38 37 39 <?php bbp_get_template_part( 'pagination', 'topics' ); ?>38 <?php bbp_get_template_part( 'pagination', 'topics' ); ?> 40 39 41 <?php if ( ! bb_base_topic_search_query( false ) ) bbp_get_template_part( 'form', 'topic' ); ?> 40 <?php 41 if ( ! bb_base_topic_search_query( false ) ) { 42 bbp_get_template_part( 'form', 'topic' ); 43 } 44 ?> 42 45 43 <?php elseif ( !bbp_is_forum_category() ) : ?>46 <?php elseif ( ! bbp_is_forum_category() ) : ?> 44 47 45 <?php bbp_get_template_part( 'feedback', 'no-topics' ); ?>48 <?php bbp_get_template_part( 'feedback', 'no-topics' ); ?> 46 49 47 <?php if ( ! bb_base_topic_search_query( false ) ) bbp_get_template_part( 'form', 'topic' ); ?> 50 <?php 51 if ( ! bb_base_topic_search_query( false ) ) { 52 bbp_get_template_part( 'form', 'topic' ); 53 } 54 ?> 48 55 49 56 <?php endif; ?>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)