Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/24/2012 07:01:24 PM (14 years ago)
Author:
djpaul
Message:

Don't remove .custom-background <body> class from BuddyPress content pages when using a theme which supports custom backgrounds. Fixes #4375, props wpmuguru for initial patch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-template.php

    r6141 r6198  
    16751675                if ( !bp_is_blog_page() ) {
    16761676
     1677                        // Observe WP custom background body class
     1678                        if ( in_array( 'custom-background', (array) $wp_classes ) )
     1679                                $bp_classes[] = 'custom-background';
     1680
    16771681                        // Preserve any custom classes already set
    16781682                        if ( !empty( $custom_classes ) ) {
Note: See TracChangeset for help on using the changeset viewer.