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/activity/post-form.php

    r3460 r3698  
    3434            </div>
    3535
    36             <?php if ( function_exists('bp_has_groups') && !bp_is_my_profile() && !bp_is_group() ) : ?>
     36            <?php if ( bp_is_active( 'groups' ) && !bp_is_my_profile() && !bp_is_group() ) : ?>
    3737                <div id="whats-new-post-in-box">
    3838                    <?php _e( 'Post in', 'buddypress' ) ?>:
Note: See TracChangeset for help on using the changeset viewer.