is_post_type_archive doesn't work with Tax Query — at Version 1
|Reported by:||wonderboymusic||Owned by:|
Description (last modified by scribu)
same problem as here: #18614
queried_object clobbers the post_type query portion. $this->is_post_type_archive returns true and post_type is attainable from public query vars.
This breaks all over eMusic. as does the other ticket, have to check is_post_type_archive() && 'whatever' === get_query_var( 'post_type' ) vs is_post_type_archive( 'whatever' )