Skip to:
Content

BuddyPress.org

Ticket #7537: 7537.patch

File 7537.patch, 548 bytes (added by hnla, 8 years ago)

Add theme_compat id to body classes.

  • src/bp-core/bp-core-template.php

     
    34703470                        $bp_classes[] = 'buddypress';
    34713471                }
    34723472
     3473                // Add the theme name/id to the body classes
     3474                $bp_classes[] = 'bp-' . bp_get_theme_compat_id();
     3475
    34733476                // Merge WP classes with BuddyPress classes and remove any duplicates.
    34743477                $classes = array_unique( array_merge( (array) $bp_classes, (array) $wp_classes ) );
    34753478