[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:24:12 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        |  Resolution:
 Keywords:                |
--------------------------+------------------

Comment (by boonebgorges):

 In [changeset:"8476"]:
 {{{
 #!CommitTicketReference repository="" revision="8476"
 Clean up parsed meta_query clauses before performing preg_replaces() in
 BP_Groups_Group::get_meta_query_sql()

 Some weaknesses in parsing were exposed by upstream changes. See
 https://core.trac.wordpress.org/ticket/25538#comment:23.

 This changeset makes the parsing less brittle by relying less on the
 details of
 the line breaks introduced by WP into the query string.

 See #5682
 }}}

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


More information about the buddypress-trac mailing list