Make WordPress Core

Ticket #16152: 16152.patch

File 16152.patch, 571 bytes (added by SergeyBiryukov, 14 years ago)
  • wp-includes/query.php

     
    16961696                        $tax_query[] = array(
    16971697                                'taxonomy' => 'category',
    16981698                                'terms' => $q['category__in'],
    1699                                 'field' => 'term_id'
     1699                                'field' => 'term_id',
     1700                                'include_children' => false
    17001701                        );
    17011702                }
    17021703
     
    17061707                                'taxonomy' => 'category',
    17071708                                'terms' => $q['category__not_in'],
    17081709                                'operator' => 'NOT IN',
     1710                                'include_children' => false
    17091711                        );
    17101712                }
    17111713