Opened 16 years ago
Closed 16 years ago
#16145 closed defect (bug) (fixed)
parse_tax_query - lookup for tag_id incorrect
| Reported by: | westi | Owned by: | westi |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | Query | Version: | 3.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [17243]) Use correct var. Props westi. fixes #16145