Querying with post_type and a taxonomy
|Reported by:||kovshenin||Owned by:||ryan|
|Component:||Query||Keywords:||has-patch tested commit|
Kind of weird. I've got a custom post type called property (real estate) and I'm able to use the post_type=property query to grab them. Now if I add some taxonomy to the query, such as post_type=property&location=italy then I'm left with all post types from italy, i.e. including posts.
The post_type parameter is being ignored and forced to any on line 2041 in query.php.
I also noticed that around line 1631 it's being forced again to any if we're doing a search, so a search with post_type=property will probably not work.