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

WordPress Trac noreply at wordpress.org
Fri Mar 21 17:36:44 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 fixed-major  |     Focuses:
-----------------------------------+---------------------
Changes (by nacin):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [27647]:

 In WP_Query::get_queried_object(), account for pre_get_posts by checking
 for tag when tag_id isn't present.
 Merges [27511] to the 3.8 branch.

 props mattonomics, wonderboymusic.
 fixes #27362.

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


More information about the wp-trac mailing list