[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
Mon Apr 25 22:06:18 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:  close         |
--------------------------+------------------------------

Comment (by 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17235#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list