Skip to:
Content

BuddyPress.org

Changeset 7601 for trunk/bp-loader.php


Ignore:
Timestamp:
11/27/2013 08:18:50 AM (11 years ago)
Author:
johnjamesjacoby
Message:

Use plugin_dir_path() rather than hardcoded buddypress directory name. Props r-a-y. Fixes #5252.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-loader.php

    r7590 r7601  
    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( plugin_dir_path( __FILE__ ) ) );
    232232        }
    233233
Note: See TracChangeset for help on using the changeset viewer.