Skip to:
Content

BuddyPress.org

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's profile 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.

Change History (6)

#1 @slaFFik
8 years ago

  • Milestone changed from Awaiting Review to 2.8

I don't see any harm, lets do it for all pages.

#2 @hnla
8 years ago

  • Milestone changed from 2.8 to Awaiting Review

Can't cause issues can it, not at least from what I can see, I would add and be damned!

#3 @hnla
8 years ago

  • Keywords 2nd-opinion removed
  • Milestone changed from Awaiting Review to 2.8

This ticket was mentioned in Slack in #buddypress by slaffik. View the logs.


8 years ago

#5 @slaffik
8 years ago

In 11348:

Admin area: Add a buddypress class to body element of wp-admin.

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

See #7353.

#6 @slaFFik
8 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Forgot to write "Fixes #7353" instead of "See #7353" :(

Note: See TracTickets for help on using tickets.