Ticket #19471: add-custom-post-types-to-core-taxonomy-archives.diff
File add-custom-post-types-to-core-taxonomy-archives.diff, 421 bytes (added by , 13 years ago) |
---|
-
wp-includes/query.php
2212 2212 $where .= $clauses['where']; 2213 2213 } 2214 2214 2215 if ( $this->is_tax ) {2215 if ( $this->is_tax || $this->is_category || $this->is_tag ) { 2216 2216 if ( empty($post_type) ) { 2217 2217 $post_type = 'any'; 2218 2218 $post_status_join = true;