[buddypress-trac] [BuddyPress] #3549: Incompatibility between recent SharDB and bbPress forum setup routine
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Mon Sep 5 15:41:21 UTC 2011
#3549: Incompatibility between recent SharDB and bbPress forum setup routine
--------------------------+------------------------------
Reporter: boonebgorges | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Forums | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by wpmuguru):
It's 75 lines of code which isn't a huge amount.
Out of curiosity, why does BPDB have the escape_deep function? It's a
duplicate of escape in wpdb? If it's used in bbPress you could just make
it a wrapper for escape and eliminate 10-15 lines.
In your dev install try adding the class exists check, copy those 75 lines
to db.php in SharDB and change
{{{
class BPDB extends WPDB
}}}
to
{{{
class BPDB extends SharDB
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3549#comment:6>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list