Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/15/2009 07:43:18 AM (18 years ago)
Author:
apeatling
Message:

Removed all references to deprecated MUPLUGINDIR and replaced with WPMU_PLUGIN_DIR and WPMU_PLUGIN_URL.

File:
1 edited

Legend:

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

    r1052 r1209  
    1010
    1111        if ( $bp->current_component == $bp->friends->slug )
    12                 wp_enqueue_script( 'bp-friends-js', site_url( MUPLUGINDIR . '/bp-friends/js/general.js' ) );
     12                wp_enqueue_script( 'bp-friends-js', WPMU_PLUGIN_URL . '/bp-friends/js/general.js' );
    1313}
    1414add_action( 'template_redirect', 'friends_add_js', 1 );
    … …  
    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( MUPLUGINDIR . '/bp-friends/css/structure.css' ) ); 
     18        wp_enqueue_style( 'bp-friends-structure', WPMU_PLUGIN_URL . '/bp-friends/css/structure.css' ); 
    1919}
    2020add_action( 'bp_styles', 'friends_add_structure_css' );
Note: See TracChangeset for help on using the changeset viewer.