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/create.php

    r11763 r11783  
    190190                </fieldset>
    191191
    192                 <?php if ( bp_is_active( 'forums' ) ) : ?>
    193 
    194                     <h4><?php _e( 'Group Forums', 'buddypress' ); ?></h4>
    195 
    196                     <p><?php _e( 'Should this group have a forum?', 'buddypress' ); ?></p>
    197 
    198                     <div class="checkbox">
    199                         <label for="group-show-forum"><input type="checkbox" name="group-show-forum" id="group-show-forum" value="1"<?php checked( bp_get_new_group_enable_forum(), true, true ); ?> /> <?php _e( 'Enable discussion forum', 'buddypress' ); ?></label>
    200                     </div>
    201 
    202                 <?php endif; ?>
    203 
    204192                <?php
    205193
Note: See TracChangeset for help on using the changeset viewer.