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

WordPress Trac noreply at wordpress.org
Wed Dec 19 04:04:37 UTC 2012


#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:  Future Release
Component:  Template        |     Version:  3.2
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+-----------------------------
Changes (by benjmay):

 * cc: benjmay (added)


Comment:

 I was getting the same notices as @styledev, however, it wasn't from
 wp_title as I was being clever and only using wp_title on non-CPT pages.

 The error was coming from the 'extra' feeds in wp_header.

 I was able to prevent the error without making mods to core by simply
 adding:


 {{{
 remove_action( 'wp_head', 'feed_links_extra', 3 );
 }}}

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


More information about the wp-trac mailing list