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

WordPress Trac noreply at wordpress.org
Wed Oct 9 19:13:30 UTC 2013


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

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


Comment:

 In [changeset:"25745"]:
 {{{
 #!CommitTicketReference repository="" revision="25745"
 Only add one body class when multiple post types manage to be present for
 a post type archive due to pre_get_posts manipulation.

 fixes #25341.
 }}}

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


More information about the wp-trac mailing list