Skip to:
Content

BuddyPress.org

Changeset 5566


Ignore:
Timestamp:
12/17/2011 02:36:59 PM (13 years ago)
Author:
boonebgorges
Message:

Defines BP_PLUGIN_DIR fallback based on WP_PLUGIN_DIR rather than plugin_dir_path(), the latter of which causes problems for symlinks and IIS installations. Fixes #3722

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-loader.php

    r5524 r5566  
    345345        // Path and URL
    346346        if ( !defined( 'BP_PLUGIN_DIR' ) )
    347             define( 'BP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
     347            define( 'BP_PLUGIN_DIR', trailingslashit( WP_PLUGIN_DIR . '/buddypress' ) );
    348348
    349349        if ( !defined( 'BP_PLUGIN_URL' ) )
Note: See TracChangeset for help on using the changeset viewer.