Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/15/2009 07:43:18 AM (17 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-groups/bp-groups-cssjs.php

    r1052 r1209  
    1010
    1111    if ( $bp->current_component == $bp->groups->slug )
    12         wp_enqueue_script( 'bp-groups-js', site_url( MUPLUGINDIR . '/bp-groups/js/general.js' ) );
     12        wp_enqueue_script( 'bp-groups-js', WPMU_PLUGIN_URL . '/bp-groups/js/general.js' );
    1313}
    1414add_action( 'template_redirect', 'groups_add_js', 1 );
     
    1616function groups_add_structure_css() {
    1717    /* Enqueue the structure CSS file to give basic positional formatting for components */
    18     wp_enqueue_style( 'bp-groups-structure', site_url( MUPLUGINDIR . '/bp-groups/css/structure.css' ) );   
     18    wp_enqueue_style( 'bp-groups-structure', WPMU_PLUGIN_URL . '/bp-groups/css/structure.css' );   
    1919}
    2020add_action( 'bp_styles', 'groups_add_structure_css' );
Note: See TracChangeset for help on using the changeset viewer.