[buddypress-trac] [BuddyPress Trac] #5682: Upstream changes in WP_Meta_Query break BP_Groups_Group::get_meta_query_sql() parsing

buddypress-trac noreply at wordpress.org
Wed Jun 4 18:21:50 UTC 2014


#5682: Upstream changes in WP_Meta_Query break
BP_Groups_Group::get_meta_query_sql() parsing
--------------------------+-----------------
 Reporter:  boonebgorges  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  2.1
Component:  Groups        |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------
 See https://core.trac.wordpress.org/ticket/25538#comment:23 for
 background.

 We do some ugly parsing of `WP_Meta_Query`'s SQL to make it compatible
 with the `JOIN` format of the groups query. To salvage the current logic,
 we'll need an upstream fix, but in the meantime I'm going to apply some
 fixes to make our parsing somewhat less brittle (eg, reliant on line
 breaks).

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5682>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list