[wp-trac] [WordPress Trac] #25341: multiple custom post types in pre_get_post filter break body_class

WordPress Trac noreply at wordpress.org
Tue Sep 17 15:40:49 UTC 2013


#25341: multiple custom post types in pre_get_post filter break body_class
------------------------------+-----------------------------
 Reporter:  norcross          |       Owner:  SergeyBiryukov
     Type:  defect (bug)      |      Status:  reopened
 Priority:  normal            |   Milestone:  3.7
Component:  Template          |     Version:  3.1
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+-----------------------------
Changes (by nacin):

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


Comment:

 is_post_type_archive() is not supposed to return true when there are
 multiple post types being queried. At least, that was my assumption.

 Can we investigate how this can happen?

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


More information about the wp-trac mailing list