﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
16829	Automatically set 'compare' => 'IN', when meta value is an array	scribu	duck_	"This should just work:

{{{
get_posts( array(
  'meta_key' => 'foo',
  'meta_value' => array( 'bar', baz' )
) );
}}}

Currently, you have to remember to set meta compare:

{{{
get_posts( array(
  'meta_key' => 'foo',
  'meta_value' => array( 'bar', baz' ),
  'meta_compare' => 'IN'
) );
}}}

Obviously, it should be the same when using 'meta_query'.
"	enhancement	closed	normal	3.3	Query		normal	fixed	has-patch	ldebrouwer douglas@…
