Make WordPress Core

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 chrisbliss18, 13 years ago)
  • wp-includes/query.php

     
    22122212                        $where .= $clauses['where'];
    22132213                }
    22142214
    2215                 if ( $this->is_tax ) {
     2215                if ( $this->is_tax || $this->is_category || $this->is_tag ) {
    22162216                        if ( empty($post_type) ) {
    22172217                                $post_type = 'any';
    22182218                                $post_status_join = true;