Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/11/2011 05:41:53 PM (11 years ago)
Author:
djpaul
Message:

Swap function_exists calls to bp_is_active in BP-Default. See #2718

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/groups/single/admin.php

    r3592 r3698  
    4040    <?php do_action( 'bp_before_group_settings_admin' ); ?>
    4141
    42     <?php if ( function_exists('bp_wire_install') ) : ?>
    43 
    44         <div class="checkbox">
    45             <label><input type="checkbox" name="group-show-wire" id="group-show-wire" value="1"<?php bp_group_show_wire_setting() ?>/> <?php _e( 'Enable comment wire', 'buddypress' ) ?></label>
    46         </div>
    47 
    48     <?php endif; ?>
    49 
    50     <?php if ( function_exists('bp_forums_is_installed_correctly') ) : ?>
     42    <?php if ( bp_is_active( 'forums' ) ) : ?>
    5143
    5244        <?php if ( bp_forums_is_installed_correctly() ) : ?>
Note: See TracChangeset for help on using the changeset viewer.