Opened 15 years ago
Closed 15 years ago
#16145 closed defect (bug) (fixed)
parse_tax_query - lookup for tag_id incorrect
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 3.1 | Priority: | normal |
| Severity: | normal | Version: | 3.1 |
| Component: | Query | Keywords: | has-patch |
| Focuses: | Cc: |
Description
if ( !empty($qv['tag_id']) ) {
$tax_query[] = array(
'taxonomy' => 'post_tag',
'terms' => $qv['tag_id'],
);
}
There is no $qv in this function just $q
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
(In [17243]) Use correct var. Props westi. fixes #16145