[wp-trac] [WordPress Trac] #9124: meta_compare needs to allow "in" as well

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 25 23:44:31 UTC 2009


#9124: meta_compare needs to allow "in" as well
-------------------------+--------------------------------------------------
 Reporter:  Otto42       |       Owner:  anonymous              
     Type:  enhancement  |      Status:  new                    
 Priority:  normal       |   Milestone:  2.9                    
Component:  Query        |     Version:  2.7                    
 Severity:  normal       |    Keywords:  has-patch needs-testing
-------------------------+--------------------------------------------------
Changes (by pampfelimetten):

  * milestone:  3.0 => 2.9


Comment:

 Just tested the patch, works very fine for me.

 query_posts
 (array('meta_key'=>"series_id",'meta_value'=>$new,'meta_compare'=>'in'));

 works perfect.

 It would be cool to see it 2.9, I can do more testing, if its needed.

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


More information about the wp-trac mailing list