[wp-trac] [WordPress Trac] #27362: Fix tag logic in WP_Query::get_queried_object()

WordPress Trac noreply at wordpress.org
Wed Mar 12 04:30:18 UTC 2014


#27362: Fix tag logic in WP_Query::get_queried_object()
----------------------------------------+---------------------
 Reporter:  mattonomics                 |       Owner:
     Type:  defect (bug)                |      Status:  closed
 Priority:  normal                      |   Milestone:  3.8.2
Component:  Query                       |     Version:  trunk
 Severity:  normal                      |  Resolution:  fixed
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+---------------------
Changes (by wonderboymusic):

 * keywords:  has-patch needs-unit-tests needs-refresh => has-patch needs-
     unit-tests
 * status:  new => closed
 * resolution:   => fixed


Comment:

 Tags are already slurped up into `tax_query`, it just never populates
 `query_vars` since `WP_Query` has a member called `tax_query`. I looked
 into the `redirect_canonical` thing: isn't an issue, at all. Not sure
 where that outburst came from.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27362#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list