Ticket #5358 (new defect)

Opened 1 year ago

Last modified 1 year ago

Queried object on multiple tag query holds only first tag

Reported by: Kafkaesqui Assigned to: anonymous
Priority: normal Milestone: 2.9
Component: General Version: 2.3.1
Severity: normal Keywords: tags wp_query
Cc:

Description

On tag page results when two or more tags are queried (/tags/foo,bar -or- /tags/foo+bar), only the first tag is in the queried object. So a simple:

print_r($wp_query->get_queried_object());

outputs a single associative array of the first tag referenced in the query. One would expect to find an array of all tags in the queried object.

Change History

11/15/07 14:57:02 changed by ionfish

Might this question I posted on wp-hackers a while ago be related?

http://comox.textdrive.com/pipermail/wp-hackers/2007-October/015706.html