[wp-trac] [WordPress Trac] #12704: Multiple post_types can no longer be specified in query

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 16 12:33:11 UTC 2010


#12704: Multiple post_types can no longer be specified in query
-----------------------------+----------------------------------------------
 Reporter:  mitchoyoshitaka  |       Owner:  dd32    
     Type:  defect (bug)     |      Status:  accepted
 Priority:  high             |   Milestone:  3.0     
Component:  Query            |     Version:  3.0     
 Severity:  normal           |    Keywords:          
-----------------------------+----------------------------------------------

Comment(by dd32):

 >  Changing the handling to use $qv[$_post_type] instead of $q['name'] for
 post names of custom post_types is interfering with the handling that was
 setup previously for taxonomies where $qv[$t->query_var] is used when
 checking against taxonomies (currently line 1421) if a post_type has the
 same name as a taxonomy.

 Ah, That was a oversight of the original incarnation. [14072] fixed that.

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


More information about the wp-trac mailing list