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

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 18 23:23:00 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 scribu):

 A post CAN'T have two identical keys (not even revisions of the same post
 can), due to the SQL table schema. Identical post keys can appear in a
 query due to different combinations of data related to the same key.

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


More information about the wp-trac mailing list