[buddypress-trac] [BuddyPress] #955: bp_body_class should work in conjunction with body_class

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sat Aug 29 18:08:47 UTC 2009


#955: bp_body_class should work in conjunction with body_class
------------------------------+---------------------------------------------
Reporter:  junsuijin          |       Owner:  junsuijin
    Type:  enhancement        |      Status:  new      
Priority:  minor              |   Milestone:  1.1      
Keywords:  has-patch, tested  |  
------------------------------+---------------------------------------------
 I've written a quick patch and tested it to work. There is no need for
 body_class on buddypress pages since they always get the id of the latest
 blog post if it is used. The patch takes this into account and moves the
 previous 'bp_body_class' action to a filter within bp_the_body_class. bp-
 sn-framework's header.php is also updated to reflect the template tag
 change. This change allows for more specific styling on blog pages.

-- 
Ticket URL: <https://trac.buddypress.org/ticket/955>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list