Make WordPress Core

Ticket #35418: 35418-2.3.patch

File 35418-2.3.patch, 496 bytes (added by jim912, 9 years ago)
  • wp-includes/query.php

     
    28222822                        $where .= $clauses['where'];
    28232823                }
    28242824
    2825                 if ( $this->is_tax ) {
     2825                if ( $this->is_tax || $this->is_category || $this->is_tag ) {
    28262826                        if ( empty($post_type) ) {
    28272827                                // Do a fully inclusive search for currently registered post types of queried taxonomies
    28282828                                $post_type = array();