Skip to:
Content

BuddyPress.org

Changeset 1209 for trunk/bp-core.php


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-core.php

    r1195 r1209  
    1515
    1616/* Load the language file */
    17 if ( file_exists( ABSPATH . MUPLUGINDIR . '/bp-languages/buddypress-' . get_locale() . '.mo' ) )
    18     load_textdomain( 'buddypress', ABSPATH . MUPLUGINDIR . '/bp-languages/buddypress-' . get_locale() . '.mo' );
     17if ( file_exists( WPMU_PLUGIN_DIR . '/bp-languages/buddypress-' . get_locale() . '.mo' ) )
     18    load_textdomain( 'buddypress', WPMU_PLUGIN_DIR . '/bp-languages/buddypress-' . get_locale() . '.mo' );
    1919
    2020/* Place your custom code (actions/filters) in a file called bp-custom.php and it will be loaded before anything else. */
    21 if ( file_exists( ABSPATH . MUPLUGINDIR . '/bp-custom.php' ) )
    22     require_once( ABSPATH . MUPLUGINDIR . '/bp-custom.php' );
     21if ( file_exists( WPMU_PLUGIN_DIR . '/bp-custom.php' ) )
     22    require_once( WPMU_PLUGIN_DIR . '/bp-custom.php' );
    2323
    2424/* Functions to handle pretty URLs and breaking them down into usable variables */
     
    164164    $bp->is_item_mod = false;
    165165   
    166     $bp->core->image_base = site_url( MUPLUGINDIR . '/bp-core/images' );
     166    $bp->core->image_base = WPMU_PLUGIN_URL . '/bp-core/images';
    167167    $bp->core->table_name_notifications = $wpdb->base_prefix . 'bp_notifications';
    168168   
Note: See TracChangeset for help on using the changeset viewer.