Skip to:
Content

bbPress.org


Ignore:
Timestamp:
01/29/2012 09:27:29 PM (12 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.

File:
1 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        }
Note: See TracChangeset for help on using the changeset viewer.