Changeset 2539 for trunk/bp-core/bp-core-templatetags.php
- Timestamp:
- 02/02/2010 05:54:12 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/bp-core-templatetags.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-templatetags.php
r2533 r2539 1402 1402 /* Template is_() functions to determine the current page */ 1403 1403 1404 function bp_is_ deactivated( $plugin_file) {1404 function bp_is_active( $component ) { 1405 1405 global $bp_deactivated; 1406 1406 1407 if ( isset( $bp_deactivated[$plugin_file] ) )1407 if ( !isset( $bp_deactivated[ 'bp-' . $component . '.php' ] ) ) 1408 1408 return true; 1409 1409
Note: See TracChangeset
for help on using the changeset viewer.