Make WordPress Core

Ticket #19471: 19471.diff

File 19471.diff, 486 bytes (added by mdgl, 10 years ago)

Refreshed/updated patch

  • wp-includes/query.php

     
    26892689                        $where .= $clauses['where'];
    26902690                }
    26912691
    2692                 if ( $this->is_tax ) {
     2692                if ( $this->is_tax || $this->is_category || $this->is_tag ) {
    26932693                        if ( empty($post_type) ) {
    26942694                                // Do a fully inclusive search for currently registered post types of queried taxonomies
    26952695                                $post_type = array();