Changeset 3718 for branches/plugin/bbp-admin/bbp-admin.php
- Timestamp:
- 01/29/2012 09:27:29 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-admin/bbp-admin.php
r3623 r3718 310 310 /** BuddyPress ********************************************************/ 311 311 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' ) ) { 313 313 314 314 // Add the per page section … … 317 317 // Topics per page setting 318 318 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', 319 register_setting ( 'bbpress', '_bbp_enable_group_forums', 'intval' ); 320 320 321 321 // 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' ); 323 323 register_setting ( 'bbpress', '_bbp_group_forums_root_id', 'intval' ); 324 324 }
Note: See TracChangeset
for help on using the changeset viewer.