Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/23/2008 02:53:18 AM (18 years ago)
Author:
apeatling
Message:

Replaced hard coded reference to /wp-content/mu-plugins to constant: MUPLUGINDIR

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-friends/bp-friends-cssjs.php

    r561 r805  
    1010
    1111        if ( $bp['current_component'] == $bp['friends']['slug'] )
    12                 wp_enqueue_script( 'bp-friends-js', site_url() . '/wp-content/mu-plugins/bp-friends/js/general.js' );
     12                wp_enqueue_script( 'bp-friends-js', site_url( MUPLUGINDIR . '/bp-friends/js/general.js' ) );
    1313}
    1414add_action( 'template_redirect', 'friends_add_js' );
    … …  
    1616function friends_add_structure_css() {
    1717        /* Enqueue the structure CSS file to give basic positional formatting for components */
    18         wp_enqueue_style( 'bp-friends-structure', site_url() . '/wp-content/mu-plugins/bp-friends/css/structure.css' );
     18        wp_enqueue_style( 'bp-friends-structure', site_url( MUPLUGINDIR . '/bp-friends/css/structure.css' ) ); 
    1919}
    2020add_action( 'bp_styles', 'friends_add_structure_css' );
Note: See TracChangeset for help on using the changeset viewer.