[wp-trac] [WordPress Trac] #15752: Multiple taxonomy queries refinements
WordPress Trac
wp-trac at lists.automattic.com
Tue Dec 14 14:01:46 UTC 2010
#15752: Multiple taxonomy queries refinements
--------------------------+-------------------------------------------------
Reporter: scribu | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.1
Component: General | Version:
Severity: minor | Keywords:
--------------------------+-------------------------------------------------
Changes (by tott):
* cc: tott (added)
Comment:
r16853 seems to introduce trouble with custom permalink structures such as
{{{
/%category%/%post_id%/%postname%/
}}}
In this cases the queried object refers to the term an not the post.
Changing the if condition to something like this seems to work.
{{{
if ( ( $this->is_category || $this->is_tag || $this->is_tax ) && ( !
$this->is_singular() && is_null( $this->post ) ) ) {
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15752#comment:22>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list