[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
Tue Nov 29 16:53:46 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.2
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+------------------------------
Changes (by billerickson):

 * cc: bill.erickson@… (added)


Comment:

 +1 for the patch.

 I just ran into this issue on taxonomy archives limited to a specific post
 type ( example.com/taxonomy/term/?post_type=my_post_type ).

 I'm using the filter to rebuild the title and just ignoring the PHP notice
 for now.

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


More information about the wp-trac mailing list