Changeset 3736 for trunk/bp-themes/bp-default/functions.php
- Timestamp:
- 01/18/2011 10:46:09 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/functions.php
r3724 r3736 36 36 if ( ! isset( $content_width ) ) 37 37 $content_width = 591; 38 39 /**40 * Temporary work-around to prevent errors with bp-default being active41 * 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 }48 38 49 39 if ( !function_exists( 'bp_dtheme_setup' ) ) :
Note: See TracChangeset
for help on using the changeset viewer.