Changeset 13506 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/bbpress/form-topic.php
- Timestamp:
- 04/12/2024 03:44:43 AM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/bbpress/form-topic.php
r13498 r13506 15 15 <?php do_action( 'bbp_theme_before_topic_form' ); ?> 16 16 17 <?php if ( bbp_is_topic_edit() ) { ?> 18 19 <h1> 20 <?php printf( __( 'Now Editing “%s”', 'wporg-forums' ), bbp_get_topic_title() ); ?> 21 </h1> 22 23 <?php } else { ?> 24 25 <h2> 26 <?php if ( bbp_is_single_forum() ) { 27 _e( 'Create a new topic in this forum', 'wporg-forums' ); 28 } elseif ( bbp_is_single_view() && 'reviews' === bbp_get_view_id() ) { 29 _e( 'Create a new review', 'wporg-forums' ); 30 } else { 31 _e( 'Create a new topic', 'wporg-forums' ); 32 } ?> 33 </h2> 34 35 <?php } ?> 36 17 37 <fieldset class="bbp-form"> 18 <legend>19 20 <?php21 if ( bbp_is_topic_edit() ) {22 printf( __( 'Now Editing “%s”', 'wporg-forums' ), bbp_get_topic_title() );23 } else {24 if ( bbp_is_single_forum() ) {25 _e( 'Create a new topic in this forum', 'wporg-forums' );26 } elseif ( bbp_is_single_view() && 'reviews' === bbp_get_view_id() ) {27 _e( 'Create a new review', 'wporg-forums' );28 } else {29 _e( 'Create a new topic', 'wporg-forums' );30 }31 }32 ?>33 34 </legend>35 38 36 39 <?php do_action( 'bbp_theme_before_topic_form_notices' ); ?>
Note: See TracChangeset
for help on using the changeset viewer.