[wp-trac] [WordPress Trac] #16145: parse_tax_query - lookup for tag_id incorrect

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 7 21:11:38 UTC 2011


#16145: parse_tax_query - lookup for tag_id incorrect
--------------------------+-----------------------------
 Reporter:  westi         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Query         |    Version:  3.1
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 {{{
                 if ( !empty($qv['tag_id']) ) {
                         $tax_query[] = array(
                                 'taxonomy' => 'post_tag',
                                 'terms' => $qv['tag_id'],
                         );
                 }
 }}}

 There is no $qv in this function just $q

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16145>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list