[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 20:36:38 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:                |
--------------------------+------------------------------

Comment (by greuben):

 Replying to [ticket:17235 batmoo]:
 > If you don't pass in an array of arrays into meta_query, it generates
 some funky (but valid) SQL and fails to return anything.
 "svn up" and it doesn't generate funky queries anymore.

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


More information about the wp-trac mailing list