Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

#3293 closed defect (bug) (fixed)

Forums use wpdb::wpdb() constructor, which has been dropped in WP 3.2

Reported by: boonebgorges Owned by:
Priority: blocker Milestone: 1.2.9
Component: Forums Version: 1.2.8
Severity: Keywords:
Cc:

Description

BP forums extend WPDB to use the shared DB info. This is done using the old PHP4 style constructor for the wpdb class, which is dropped in WP 3.2. ​http://buddypress.trac.wordpress.org/browser/tags/1.2.8/bp-forums/bp-forums-bbpress.php#L144 This means that the forums crash BP installs on the 1.2 branch/WP 3.2

The solution is to use wpdb::construct() instead. Checking in a fix in a moment.

(NB this is already done on trunk, in r4211)

Change History (1)

#1 @boonebgorges
15 years ago

  • Resolution → fixed
  • Status new → closed

(In [4547]) Use PHP5 constructor when extending WPDB to maintain compatibility with WP 3.2 and BP forums. Fixes #3293

Note: See TracTickets for help on using tickets.