[wp-trac] [WordPress Trac] #17235: meta_query fails if you don't pass in an array of arrays
WordPress Trac
wp-trac at lists.automattic.com
Wed Apr 27 14:02:25 UTC 2011
#17235: meta_query fails if you don't pass in an array of arrays
--------------------------+------------------------------
Reporter: batmoo | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version: 3.1
Severity: normal | Resolution:
Keywords: 2nd-opinion |
--------------------------+------------------------------
Comment (by greuben):
Replying to [comment:3 nacin]:
> meta_query should ideally support the simplified version. (Same with
tax_query.)
>
> If someone mixes the simplified version with the non-simplified version,
then we should just take the root-level (simplified) version.
I agree but I think we should use non-simplified(array of arrays) because
the person using non-simplified version is aware of the meta_query syntax.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17235#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list