[wp-trac] [WordPress Trac] #5358: Queried object on multiple tag
query holds only first tag
WordPress Trac
wp-trac at lists.automattic.com
Thu Nov 15 05:17:21 GMT 2007
#5358: Queried object on multiple tag query holds only first tag
------------------------+---------------------------------------------------
Reporter: Kafkaesqui | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.4
Component: General | Version: 2.3.1
Severity: normal | Keywords: tags wp_query
------------------------+---------------------------------------------------
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.
--
Ticket URL: <http://trac.wordpress.org/ticket/5358>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list