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-classes.php

    r3371 r3450  
    167167        }
    168168
    169         if ( $search_terms && function_exists( 'xprofile_install' ) ) {
     169        if ( $search_terms && bp_is_active( 'xprofile' ) ) {
    170170            $search_terms = like_escape( $wpdb->escape( $search_terms ) );
    171171            $sql['where_searchterms'] = "AND pd.value LIKE '%%$search_terms%%'";
Note: See TracChangeset for help on using the changeset viewer.