Skip to:
Content

BuddyPress.org

Ticket #5252: 5252.01.patch

File 5252.01.patch, 426 bytes (added by r-a-y, 8 years ago)
  • bp-loader.php

    class BuddyPress { 
    228228
    229229                // Path and URL
    230230                if ( ! defined( 'BP_PLUGIN_DIR' ) ) {
    231                         define( 'BP_PLUGIN_DIR', trailingslashit( WP_PLUGIN_DIR . '/buddypress' ) );
     231                        define( 'BP_PLUGIN_DIR', trailingslashit( dirname( __FILE__ ) ) );
    232232                }
    233233
    234234                if ( ! defined( 'BP_PLUGIN_URL' ) ) {