Skip to:
Content

Changeset 7663


Ignore:
Timestamp:
12/10/13 02:02:12 (4 months ago)
Author:
boonebgorges
Message:

Don't wipe out admin-bar and no-customize-support body classes

See #4929

Props needle

File:
1 edited

Legend:

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

    r7521 r7663  
    23662366                $bp_classes[] = 'custom-background'; 
    23672367 
     2368            // Observe WP admin bar body classes 
     2369            if ( in_array( 'admin-bar', (array) $wp_classes ) ) 
     2370                $bp_classes[] = 'admin-bar'; 
     2371            if ( in_array( 'no-customize-support', (array) $wp_classes ) ) 
     2372                $bp_classes[] = 'no-customize-support'; 
     2373 
    23682374            // Preserve any custom classes already set 
    23692375            if ( !empty( $custom_classes ) ) { 
Note: See TracChangeset for help on using the changeset viewer.