[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 09:48:02 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):

 Replying to [comment:15 prettyboymp]:
 > This solution creates a problem where a taxonomy can't have the same
 name of a post_type.  So having a post_type of 'download' and a related
 taxonomy name 'download' you get a query that looks like this when trying
 to view a post named 'american-red-cross' (original queryvars = download
 =american-red-cross, post_type=download):

 That, from what i can tell, is unrelated to the issue at hand here.
 Allowing for multiple post_types and/or taxonomies to register the same
 query var should probably be raised in its own ticket.. unless this is
 actually caused here?

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


More information about the wp-trac mailing list