[buddypress-trac] [BuddyPress] #4375: custom-background body class stripped out of body classes

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Jul 23 19:19:10 UTC 2012


#4375: custom-background body class stripped out of body classes
--------------------------+---------------------
 Reporter:  wpmuguru      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  1.6
Component:  Core          |     Version:  1.6-rc
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+---------------------

Comment (by DJPaul):

 > the theme has to filter the body class at a lower priority than BP and
 add the custom-background class back into the body classes array
 I don't quite understand where you think BP removes the class, or what
 type of template it affects. Are we talking e.g. blog posts, or BuddyPress
 content pages?

 Only thing I can see is the IF near the "preserve any custom classes
 already set" comment in bp_get_the_body_class() -- is this where the bug
 is?

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4375#comment:4>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list