Skip to:
Content

Changeset 3718


Ignore:
Timestamp:
01/29/2012 09:27:29 PM (7 years ago)
Author:
johnjamesjacoby
Message:

Add description to Group Forums Parent setting. Remove check for forums not being active, as this will be handled by migration later. See #1699.

Location:
branches/plugin/bbp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-admin/bbp-admin.php

    r3623 r3718  
    310310        /** BuddyPress ********************************************************/
    311311
    312         if ( is_plugin_active( 'buddypress/bp-loader.php' ) && defined( 'BP_VERSION' ) && !bp_is_active( 'forums' ) ) {
     312        if ( is_plugin_active( 'buddypress/bp-loader.php' ) && defined( 'BP_VERSION' ) ) {
    313313
    314314            // Add the per page section
     
    317317            // Topics per page setting
    318318            add_settings_field( '_bbp_enable_group_forums',  __( 'Enable Group Forums', 'bbpress' ), 'bbp_admin_setting_callback_group_forums',         'bbpress', 'bbp_buddypress' );
    319             register_setting  ( 'bbpress',                  '_bbp_enable_group_forums',                  'intval'                                                                       );
     319            register_setting  ( 'bbpress',                  '_bbp_enable_group_forums',              'intval'                                                                       );
    320320
    321321            // Topics per page setting
    322             add_settings_field( '_bbp_group_forums_root_id', __( 'Root Group Forum', 'bbpress' ),    'bbp_admin_setting_callback_group_forums_root_id', 'bbpress', 'bbp_buddypress' );
     322            add_settings_field( '_bbp_group_forums_root_id', __( 'Group Forums Parent', 'bbpress' ), 'bbp_admin_setting_callback_group_forums_root_id', 'bbpress', 'bbp_buddypress' );
    323323            register_setting  ( 'bbpress',                  '_bbp_group_forums_root_id',             'intval'                                                                       );
    324324        }
  • branches/plugin/bbp-admin/bbp-settings.php

    r3685 r3718  
    487487
    488488    <label for="_bbp_group_forums_root_id"><?php _e( 'is the parent for all group forums', 'bbpress' ); ?></label>
     489    <p class="description"><?php _e( 'Using the Forum Root is not recommended. Changing this does not move existing forums.', 'bbpress' ); ?></p>
    489490
    490491<?php
Note: See TracChangeset for help on using the changeset viewer.