﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
13020,WP_Query - Post type ignored in taxonomy queries.,d910qf,,"Hi,

I posted this to the wp-hackers mailing list - when you specify a taxonomy term and post types using query_posts the post type is getting ignored on line 2034 of query.php ( $post_type = 'any'; ).

Not sure where to start with fixing it or if this intended?

[Edited rest of message]

This code however always ignores the post_type requirement but still
selects all post types linked to the term_name;

{{{
global $wp_query;
query_posts( array(
    'post_type' => 'my_post_type' ,
    ""taxonomy_name"" => ""term_name"",
    'showposts' => 10 )
);
}}}
",defect (bug),closed,normal,3.0,Post Types,3.0,normal,fixed,"has-patch, taxonomies, query",
