[wp-trac] [WordPress Trac] #18614: post_type_archive_title doesn't work when tax_query is added to wp_query

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 8 05:00:39 UTC 2011


#18614: post_type_archive_title doesn't work when tax_query is added to wp_query
-----------------------------------+------------------------------
 Reporter:  wonderboymusic         |       Owner:
     Type:  defect (bug)           |      Status:  reopened
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  Template               |     Version:  3.3
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+------------------------------

Comment (by dd32):

 Just to chime in here, This is something I've run into a few times - not
 this specifically, but relying upon get_queried_object() to return the
 same data as expected. If it's an "advanced Query" (ie. Taxonomy(s) or
 Authors set - any type of archive I believe) then the return may not be
 exactly what the calling code is expecting.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18614#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list