Changeset 6018
- Timestamp:
- 05/07/2012 04:59:14 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/bp-themes/bp-default/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/functions.php
r5978 r6018 31 31 if ( ! defined( 'ABSPATH' ) ) exit; 32 32 33 if ( ! function_exists( 'bp_is_active' ) ) 33 // If BuddyPress is not activated, switch back to the default WP theme and bail out 34 if ( ! function_exists( 'bp_is_active' ) ) { 35 switch_theme( WP_DEFAULT_THEME, WP_DEFAULT_THEME ); 34 36 return; 35 36 // If BuddyPress is not activated, switch back to the default WP theme 37 if ( ! defined( 'BP_VERSION' ) ) 38 switch_theme( WP_DEFAULT_THEME, WP_DEFAULT_THEME ); 37 } 39 38 40 39 /**
Note: See TracChangeset
for help on using the changeset viewer.