[wp-trac] Re: [WordPress Trac] #9167: query_posts('meta_key=foo') returns duplicate posts

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 19 15:00:24 GMT 2009

#9167: query_posts('meta_key=foo') returns duplicate posts
 Reporter:  scribu        |       Owner:  anonymous
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  2.7.2    
Component:  General       |     Version:           
 Severity:  normal        |    Keywords:           

Comment(by filosofo):

 Replying to [comment:7 filosofo]:
 > Not selecting the meta_value probably isn't very helpful for most of the
 situations in which you would be querying by meta_key.

 Thinking about it a little more, I take that back.  If someone is querying
 just for meta_key and doesn't query the meta_value, then this would work.
 I'll come up with a patch in a bit.

Ticket URL: <http://core.trac.wordpress.org/ticket/9167#comment:8>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list