[buddypress-trac] [BuddyPress] #4281: Add additional body class for user/account/profile screens

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Jun 20 11:57:13 UTC 2012


#4281: Add additional body class for user/account/profile screens
-------------------------+-----------------------------
 Reporter:  hnla         |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Core         |    Version:  1.6-beta
 Severity:  minor        |   Keywords:  has-patch
-------------------------+-----------------------------
 It's a major chore when trying to style member account screens at a
 generic level as we have no simple means of hooking to them as one e.g

 body.bp-user {add styles affecting any action screen/component}

 Any chance we could slip this patch through it should be non destructive
 and not cause any issues and make life a lot easier.

 if ( bp_is_user() )
 $bp_classes[] = 'bp-user';

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


More information about the buddypress-trac mailing list