Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/19/2010 07:53:41 PM (15 years ago)
Author:
djpaul
Message:

Update alot of old-style component checks. Partial fix for #2718.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-templatetags.php

    r3449 r3450  
    990990    global $bp;
    991991
    992     if ( function_exists( 'xprofile_install' )
    993          || function_exists( 'groups_install' )
    994          || ( function_exists( 'bp_blogs_install' ) && is_multisite() )
     992    if ( bp_is_active( 'xprofile' )
     993         || bp_is_active( 'groups' )
     994         || ( bp_is_active( 'blogs' ) && is_multisite() )
    995995         || ( function_exists( 'bp_forums_setup' ) && !(int)$bp->site_options['bp-disable-forum-directory'] )
    996996        ) {
Note: See TracChangeset for help on using the changeset viewer.