[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 07:00:16 UTC 2013


#25341: multiple custom post types in pre_get_post filter break body_class
-------------------------+-------------------------------------------------
 Reporter:  norcross     |      Owner:
     Type:  defect       |     Status:  new
  (bug)                  |  Milestone:  Awaiting Review
 Priority:  normal       |    Version:  trunk
Component:  Template     |   Keywords:  has-patch 2nd-opinion needs-testing
 Severity:  normal       |
-------------------------+-------------------------------------------------
 Issue: when viewing a custom post type archive template, and having added
 a pre_get_posts filter to display two separate custom post types on that
 page, the body_class function breaks trying to process an array to string
 conversion

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


More information about the wp-trac mailing list