[wp-trac] [WordPress Trac] #29642: Support complex (nested, multiple relation) queries in WP_Meta_Query
WordPress Trac
noreply at wordpress.org
Mon Oct 13 22:02:20 UTC 2014
#29642: Support complex (nested, multiple relation) queries in WP_Meta_Query
------------------------------------+------------------------
Reporter: boonebgorges | Owner:
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 4.1
Component: Options, Meta APIs | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+------------------------
Comment (by boonebgorges):
In [changeset:"29887"]:
{{{
#!CommitTicketReference repository="" revision="29887"
Introduce support for nested queries in WP_Meta_Query.
Previously, meta query arguments could be joined by a single AND or OR
relation.
Now, these queries can be arbitrarily nested, allowing clauses to be
linked
together with multiple relations.
Adds unit tests for the new nesting syntax. Modifies a few existing unit
tests
that were overly specific for the old SQL syntax. Backward compatibility
with
existing syntax is fully maintained.
Props boonebgorges, DrewAPicture.
See #29642.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29642#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list