[buddypress-trac] [BuddyPress Trac] #7353: Add a "buddypress" class to body element of wp-admin

buddypress-trac noreply at wordpress.org
Fri Nov 18 03:44:40 UTC 2016

#7353: Add a "buddypress" class to body element of wp-admin
 Reporter:  johnjamesjacoby  |      Owner:
     Type:  enhancement      |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Administration   |    Version:
 Severity:  normal           |   Keywords:  2nd-opinion
 I think it'd be nice to add a `buddypress` class to the `body` element of
 the WordPress administration area when BuddyPress is active.

 Certain WordPress core features do this already, like `multisite`,
 `customize-support`, locale, and color schemes.

 Generally, this would help third party plugins stylize the admin area more
 specifically when BuddyPress is active.

 Specifically, I have a need to add styling to `body.profile-php` but only
 when BuddyPress is active, and there's no way to do that currently without
 enqueueing a dedicated stylesheet file.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7353>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list