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

WordPress Trac noreply at wordpress.org
Tue Mar 11 20:47:03 UTC 2014


#27362: Fix tag logic in WP_Query::get_queried_object()
--------------------------+-----------------------------
 Reporter:  mattonomics   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Currently, the get_queried_object method in WP_Query has logic that
 correctly accounts for categories and other taxonomies, but not tags.

 The attached patch simply includes the very simple logic so that tags may
 also be properly set up.

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


More information about the wp-trac mailing list