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

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 26 08:39:22 UTC 2010


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

  * status:  new => accepted


Comment:

 > I wasn't able to create a fix which also incorporates dd32's additions
 as I'm not entirely sure what the point of the $q[ $q['post_type'] ]
 business is.

 This is for handling queries such as /wiki/this-is/a/page/  which resolves
 to ?wiki=this-is/a/page which will result in $q[ $q['post_type'] ] = this-
 is/a/page

 I'll have a look into the options available for fixing this over the
 weekend.

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


More information about the wp-trac mailing list