Make WordPress Core


Ignore:
Timestamp:
01/08/2011 05:21:49 PM (14 years ago)
Author:
ryan
Message:

Use correct var. Props westi. fixes #16145

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/query.php

    r17170 r17243  
    17111711
    17121712        // Tag stuff
    1713         if ( !empty($qv['tag_id']) ) {
     1713        if ( !empty($q['tag_id']) ) {
    17141714            $tax_query[] = array(
    17151715                'taxonomy' => 'post_tag',
    1716                 'terms' => $qv['tag_id'],
     1716                'terms' => $q['tag_id'],
    17171717            );
    17181718        }
Note: See TracChangeset for help on using the changeset viewer.