[wp-trac] [WordPress Trac] #20312: Meta_query needs relation arg per key/value pair

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 28 10:52:56 UTC 2012


#20312: Meta_query needs relation arg per key/value pair
--------------------------+------------------------------
 Reporter:  CoenJacobs    |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Query         |     Version:  3.2
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |
--------------------------+------------------------------

Comment (by CoenJacobs):

 Replying to [comment:1 scribu]:
 > You can use IN

 Correct. Maybe this wasn't the very best example. What if the first array
 had to contain a specific value in two different keys, '_kind' and
 '_other_key' and the second array remains as in my example?

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


More information about the wp-trac mailing list