Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/02/2010 05:54:12 PM (16 years ago)
Author:
apeatling
Message:

Fixes #1752

File:
1 edited

Legend:

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

    r2533 r2539  
    14021402/* Template is_() functions to determine the current page */
    14031403
    1404 function bp_is_deactivated( $plugin_file ) {
     1404function bp_is_active( $component ) {
    14051405    global $bp_deactivated;
    14061406
    1407     if ( isset( $bp_deactivated[$plugin_file] ) )
     1407    if ( !isset( $bp_deactivated[ 'bp-' . $component . '.php' ] ) )
    14081408        return true;
    14091409
Note: See TracChangeset for help on using the changeset viewer.