Ticket #19471: 19471.diff
File 19471.diff, 486 bytes (added by , 10 years ago) |
---|
-
wp-includes/query.php
2689 2689 $where .= $clauses['where']; 2690 2690 } 2691 2691 2692 if ( $this->is_tax ) {2692 if ( $this->is_tax || $this->is_category || $this->is_tag ) { 2693 2693 if ( empty($post_type) ) { 2694 2694 // Do a fully inclusive search for currently registered post types of queried taxonomies 2695 2695 $post_type = array();