Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/12/2011 09:25:51 PM (15 years ago)
Author:
djpaul
Message:

Swap function_exists checks to bp_is_active. Fixes #2718

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-members/bp-members-actions.php

    r3917 r4137  
    7272
    7373        // Hide this user's activity
    74         if ( $is_spam && function_exists( 'bp_activity_hide_user_activity' ) )
     74        if ( $is_spam && bp_is_active( 'activity' ) )
    7575            bp_activity_hide_user_activity( $bp->displayed_user->id );
    7676
Note: See TracChangeset for help on using the changeset viewer.