[wp-trac] [WordPress Trac] #20493: WP_Tax_Query->clean_query removes taxonomy term being searched for

WordPress Trac noreply at wordpress.org
Wed Oct 17 18:31:28 UTC 2012


#20493: WP_Tax_Query->clean_query removes taxonomy term being searched for
----------------------------------------+------------------
 Reporter:  israelshirk                 |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  3.5
Component:  Taxonomy                    |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |
----------------------------------------+------------------

Comment (by ryan):

 Those unit tests pass without the patch. That's because clean_query() does
 this:

 {{{
 $children[] = $term;
 }}}

 The patch doesn't seem necessary.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20493#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list