[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 18:47:43 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  |
------------------------------+-----------------------------

Comment (by norcross):

 the Codex indicates that it'll return a string or array, and says multiple
 could exist:
 http://codex.wordpress.org/Function_Reference/is_post_type_archive

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


More information about the wp-trac mailing list