[wp-trac] [WordPress Trac] #16829: Automatically set 'compare' => 'IN', when meta value is an array

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 14 01:59:39 UTC 2011


#16829: Automatically set 'compare' => 'IN', when meta value is an array
-------------------------+-----------------------------
 Reporter:  scribu       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Query        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+-----------------------------
Changes (by ldebrouwer):

 * cc: ldebrouwer (added)
 * keywords:  needs-patch => has-patch


Comment:

 Added the patch, sorry for the crappy description of it. It that defaults
 $meta_compare to 'IN' if $meta_compare is not set and $meta_value is an
 array.

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


More information about the wp-trac mailing list