Skip to:
Content

BuddyPress.org

Changeset 5536


Ignore:
Timestamp:
12/13/2011 01:39:34 AM (10 years ago)
Author:
johnjamesjacoby
Message:

Use wp_enqueue_styles in bp-default. See #3846 (trunk)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/functions.php

    r5509 r5536  
    182182function bp_dtheme_enqueue_styles() {
    183183
    184     // Bail if in admin
    185     if ( is_admin() )
    186         return;
    187 
    188184    // Bump this when changes are made to bust cache
    189185    $version = '20111211';
     
    212208    }
    213209}
    214 add_action( 'wp_print_styles', 'bp_dtheme_enqueue_styles' );
     210add_action( 'wp_enqueue_styles', 'bp_dtheme_enqueue_styles' );
    215211endif;
    216212
Note: See TracChangeset for help on using the changeset viewer.