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

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 14 15:02:07 UTC 2011


#16829: Automatically set 'compare' => 'IN', when meta value is an array
-------------------------------------+------------------
 Reporter:  scribu                   |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  3.3
Component:  Query                    |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+------------------

Comment (by scribu):

 Because some people might expect that when using meta_query, the value
 will automatically be serialized for them, like it is when using
 update_post_meta(), for instance.

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


More information about the wp-trac mailing list