Opened 8 years ago
Closed 8 years ago
#7353 closed enhancement (fixed)
Add a "buddypress" class to body element of wp-admin
Reported by: | johnjamesjacoby | Owned by: | |
---|---|---|---|
Milestone: | 2.8 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | |
Cc: |
Description
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.
I don't see any harm, lets do it for all pages.