Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/18/2012 01:06:13 PM (12 years ago)
Author:
boonebgorges
Message:

Reinstates 1.5.x integration of bbPress 1.x forum installation and configuration

In anticipation for a full switchover to bbPress 2.x in BuddyPress 1.6, several
aspects of the forum configuration and setup process were modified. Since
the migration to bbPress 2.x is being put off to a later version of BuddyPress,
it's necessary to revert some of these changes back to their BP 1.5.x state.

This changeset also fixes a bug in the bb-config.php creation script, where
a salt containing the string '?>' could result in early termination of the
config file.

Fixes #4269

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-forums/bp-forums-functions.php

    r6093 r6108  
    3535 */
    3636function bp_forums_is_installed_correctly() {
    37     if ( bp_get_option( 'bb-config-location' ) )
     37    global $bp;
     38
     39    if ( isset( $bp->forums->bbconfig ) && is_file( $bp->forums->bbconfig ) )
    3840        return true;
    3941
Note: See TracChangeset for help on using the changeset viewer.