Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/02/2018 03:12:48 PM (7 years ago)
Author:
djpaul
Message:

Remove uses of bp_is_active( 'forums' ).

These checks only works with the Legacy forums, not bbPress.
All template and navigation functionality affected by this changeset have replacements directly provided by bbPress.

See #5351

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/single/admin/group-settings.php

    r11763 r11783  
    1919 */
    2020do_action( 'bp_before_group_settings_admin' ); ?>
    21 
    22 <?php if ( bp_is_active( 'forums' ) ) : ?>
    23 
    24     <div class="checkbox">
    25         <label for="group-show-forum"><input type="checkbox" name="group-show-forum" id="group-show-forum" value="1"<?php bp_group_show_forum_setting(); ?> /> <?php _e( 'Enable discussion forum', 'buddypress' ); ?></label>
    26     </div>
    27 
    28     <hr />
    29 
    30 <?php endif; ?>
    3121
    3222<fieldset class="group-create-privacy">
Note: See TracChangeset for help on using the changeset viewer.