Ticket #2968: 2968.patch
File 2968.patch, 3.0 KB (added by , 7 years ago) |
---|
-
src/includes/extend/buddypress/groups.php
275 275 // Should box be checked already? 276 276 $checked = is_admin() ? bp_group_is_forum_enabled( $group ) : bp_get_new_group_enable_forum() || bp_group_is_forum_enabled( bp_get_group_id() ); ?> 277 277 278 <h 4><?php esc_html_e( 'Group Forum Settings', 'bbpress' ); ?></h4>278 <h2><?php esc_html_e( 'Group Forum Settings', 'bbpress' ); ?></h2> 279 279 280 280 <fieldset> 281 281 <legend class="screen-reader-text"><?php esc_html_e( 'Group Forum Settings', 'bbpress' ); ?></legend> … … 283 283 284 284 <div class="field-group"> 285 285 <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> 287 287 </div> 288 288 289 289 <p class="description"><?php esc_html_e( 'Saying no will not delete existing forum content.', 'bbpress' ); ?></p> … … 483 483 484 484 $checked = bp_get_new_group_enable_forum() || groups_get_groupmeta( $group_id, 'forum_id' ); ?> 485 485 486 <h 4><?php esc_html_e( 'Group Forum', 'bbpress' ); ?></h4>486 <h2><?php esc_html_e( 'Group Forum', 'bbpress' ); ?></h2> 487 487 488 488 <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> 489 489 … … 834 834 // Setup the forum 835 835 bbp_the_forum(); ?> 836 836 837 <h 3><?php bbp_forum_title(); ?></h3>837 <h2><?php bbp_forum_title(); ?></h2> 838 838 839 839 <?php bbp_get_template_part( 'content', 'single-forum' ); 840 840 … … 866 866 // If no topic, 404 867 867 if ( ! bbp_topics() ) { 868 868 bp_do_404( bbp_get_forum_permalink( $forum_id ) ); ?> 869 <h 3><?php bbp_forum_title(); ?></h3>869 <h2><?php bbp_forum_title(); ?></h2> 870 870 <?php bbp_get_template_part( 'feedback', 'no-topics' ); 871 871 break; 872 872 } … … 874 874 // Setup the topic 875 875 bbp_the_topic(); ?> 876 876 877 <h 3><?php bbp_topic_title(); ?></h3>877 <h2><?php bbp_topic_title(); ?></h2> 878 878 879 879 <?php 880 880 … … 928 928 // If no topic, 404 929 929 if ( ! bbp_replies() ) { 930 930 bp_do_404( bbp_get_forum_permalink( $forum_id ) ); ?> 931 <h 3><?php bbp_forum_title(); ?></h3>931 <h2><?php bbp_forum_title(); ?></h2> 932 932 <?php bbp_get_template_part( 'feedback', 'no-replies' ); 933 933 break; 934 934 } … … 936 936 // Setup the reply 937 937 bbp_the_reply(); ?> 938 938 939 <h 3><?php bbp_reply_title(); ?></h3>939 <h2><?php bbp_reply_title(); ?></h2> 940 940 941 941 <?php if ( bp_action_variable( $offset + 2 ) === bbp_get_edit_rewrite_id() ) : 942 942