Make WordPress Core

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)

tag_in.diff (496 bytes ) - added by westi 16 years ago.

Download all attachments as: .zip

Change History (4)

@westi
16 years ago

#1 @westi
16 years ago

  • Owner set to westi
  • Status newaccepted

#2 @scribu
16 years ago

  • Keywords has-patch added
  • Milestone Awaiting Review3.1

#3 @automattor
16 years ago

  • Resolutionfixed
  • Status acceptedclosed

(In [17243]) Use correct var. Props westi. fixes #16145

Note: See TracTickets for help on using tickets.