If a taxonomy is added to query, post type is ignored
|Reported by:||Silkjaer||Owned by:||ryan|
If a custom taxonomy is added to a query, the post_type is ignored.
E.g. if my custom taxonomy "genre" is shared between "artist" and "releases" and i query post_type=artist&genre=rock, the result will be both artists and releases.
By removing the following line from query.php on line 2043 the problem goes away:
$post_type = 'any';