Changeset 3704
- Timestamp:
- 01/14/2011 07:13:19 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/functions.php
r3689 r3704 36 36 if ( ! isset( $content_width ) ) 37 37 $content_width = 591; 38 39 /** 40 * Temporary work-around to prevent errors with bp-default being active 41 * when BuddyPress is not installed. 42 */ 43 if ( !constant( 'BP_VERSION' ) || !get_site_option( 'bp-db-version' ) ) { 44 switch_theme( 'twentyten', 'twentyten' ); 45 wp_redirect( $_SERVER['HTTP_REFERER'] ); 46 exit; 47 } 38 48 39 49 if ( !function_exists( 'bp_dtheme_setup' ) ) :
Note: See TracChangeset
for help on using the changeset viewer.