[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:16:58 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 prettyboymp):
The issue was caused from this ticket. 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. If this were all completely new functionality,
that would be fine, we can say that post_types can't share names with
taxonomies, but since the ability to have both has been around since 2.9,
this is going to break some sites that have done this.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12704#comment:19>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list