Skip to:
Content

bbPress.org

Ticket #2968: 2968.patch

File 2968.patch, 3.0 KB (added by mercime, 7 years ago)
  • src/includes/extend/buddypress/groups.php

     
    275275                // Should box be checked already?
    276276                $checked = is_admin() ? bp_group_is_forum_enabled( $group ) : bp_get_new_group_enable_forum() || bp_group_is_forum_enabled( bp_get_group_id() ); ?>
    277277
    278                 <h4><?php esc_html_e( 'Group Forum Settings', 'bbpress' ); ?></h4>
     278                <h2><?php esc_html_e( 'Group Forum Settings', 'bbpress' ); ?></h2>
    279279
    280280                <fieldset>
    281281                        <legend class="screen-reader-text"><?php esc_html_e( 'Group Forum Settings', 'bbpress' ); ?></legend>
     
    283283
    284284                        <div class="field-group">
    285285                                <div class="checkbox">
    286                                         <label><input type="checkbox" name="bbp-edit-group-forum" id="bbp-edit-group-forum" value="1"<?php checked( $checked ); ?> /> <?php esc_html_e( 'Yes. I want this group to have a forum.', 'bbpress' ); ?></label>
     286                                        <label for="bbp-edit-group-forum"><input type="checkbox" name="bbp-edit-group-forum" id="bbp-edit-group-forum" value="1"<?php checked( $checked ); ?> /> <?php esc_html_e( 'Yes. I want this group to have a forum.', 'bbpress' ); ?></label>
    287287                                </div>
    288288
    289289                                <p class="description"><?php esc_html_e( 'Saying no will not delete existing forum content.', 'bbpress' ); ?></p>
     
    483483
    484484                $checked = bp_get_new_group_enable_forum() || groups_get_groupmeta( $group_id, 'forum_id' ); ?>
    485485
    486                 <h4><?php esc_html_e( 'Group Forum', 'bbpress' ); ?></h4>
     486                <h2><?php esc_html_e( 'Group Forum', 'bbpress' ); ?></h2>
    487487
    488488                <p><?php esc_html_e( 'Create a discussion forum to allow members of this group to communicate in a structured, bulletin-board style fashion.', 'bbpress' ); ?></p>
    489489
     
    834834                                                // Setup the forum
    835835                                                bbp_the_forum(); ?>
    836836
    837                                                 <h3><?php bbp_forum_title(); ?></h3>
     837                                                <h2><?php bbp_forum_title(); ?></h2>
    838838
    839839                                                <?php bbp_get_template_part( 'content', 'single-forum' );
    840840
     
    866866                                        // If no topic, 404
    867867                                        if ( ! bbp_topics() ) {
    868868                                                bp_do_404( bbp_get_forum_permalink( $forum_id ) ); ?>
    869                                                 <h3><?php bbp_forum_title(); ?></h3>
     869                                                <h2><?php bbp_forum_title(); ?></h2>
    870870                                                <?php bbp_get_template_part( 'feedback', 'no-topics' );
    871871                                                break;
    872872                                        }
     
    874874                                        // Setup the topic
    875875                                        bbp_the_topic(); ?>
    876876
    877                                         <h3><?php bbp_topic_title(); ?></h3>
     877                                        <h2><?php bbp_topic_title(); ?></h2>
    878878
    879879                                        <?php
    880880
     
    928928                                        // If no topic, 404
    929929                                        if ( ! bbp_replies() ) {
    930930                                                bp_do_404( bbp_get_forum_permalink( $forum_id ) ); ?>
    931                                                 <h3><?php bbp_forum_title(); ?></h3>
     931                                                <h2><?php bbp_forum_title(); ?></h2>
    932932                                                <?php bbp_get_template_part( 'feedback', 'no-replies' );
    933933                                                break;
    934934                                        }
     
    936936                                        // Setup the reply
    937937                                        bbp_the_reply(); ?>
    938938
    939                                         <h3><?php bbp_reply_title(); ?></h3>
     939                                        <h2><?php bbp_reply_title(); ?></h2>
    940940
    941941                                        <?php if ( bp_action_variable( $offset + 2 ) === bbp_get_edit_rewrite_id() ) :
    942942