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-core/bp-core-cache.php

    r3955 r4137  
    3131function bp_core_add_global_group() {
    3232    wp_cache_init();
    33 
    34     if ( function_exists( 'wp_cache_add_global_groups' ) )
    35         wp_cache_add_global_groups( array( 'bp' ) );
     33    wp_cache_add_global_groups( array( 'bp' ) );
    3634}
    3735add_action( 'bp_loaded', 'bp_core_add_global_group' );
Note: See TracChangeset for help on using the changeset viewer.