Skip to:
Content

BuddyPress.org

Changeset 1521


Ignore:
Timestamp:
06/05/2009 10:06:23 PM (15 years ago)
Author:
apeatling
Message:

FIxes #768

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core.php

    r1518 r1521  
    4040/* If BP_DISABLE_ADMIN_BAR is defined, do not load the global admin bar */
    4141if ( !defined( 'BP_DISABLE_ADMIN_BAR') )
    42     require ( 'bp-core/bp-core-adminbar.php' );
     42    require ( BP_PLUGIN_DIR . '/bp-core/bp-core-adminbar.php' );
    4343
    4444/* Define the slug for member pages and the members directory (e.g. domain.com/[members] ) */
  • trunk/bp-forums.php

    r1460 r1521  
    1212
    1313if ( is_admin() )
    14     require ( 'bp-forums/bp-forums-admin.php' );
     14    require ( BP_PLUGIN_DIR . '/bp-forums/bp-forums-admin.php' );
    1515
    1616function bp_forums_setup() {
  • trunk/bp-loader.php

    r1463 r1521  
    1717 */
    1818
    19 require_once( 'bp-core.php' );
     19require_once( WP_PLUGIN_DIR . '/buddypress/bp-core.php' );
    2020$deactivated = apply_filters( 'bp_deactivated_components', get_site_option( 'bp-deactivated-components' ) );
    2121
    2222/* Activity Streams */
    2323if ( !isset( $deactivated['bp-activity.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-activity.php') )
    24     include( 'bp-activity.php' );
     24    include( BP_PLUGIN_DIR . '/bp-activity.php' );
    2525
    2626/* Blog Tracking */
    2727if ( !isset( $deactivated['bp-blogs.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-blogs.php') )
    28     include( 'bp-blogs.php' );
     28    include( BP_PLUGIN_DIR . '/bp-blogs.php' );
    2929
    3030/* bbPress Forum Integration */
    3131if ( !isset( $deactivated['bp-forums.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-forums.php') )
    32     include( 'bp-forums.php' );
     32    include( BP_PLUGIN_DIR . '/bp-forums.php' );
    3333
    3434/* Friend Connections */
    3535if ( !isset( $deactivated['bp-friends.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-friends.php') )
    36     include( 'bp-friends.php' );
     36    include( BP_PLUGIN_DIR . '/bp-friends.php' );
    3737
    3838/* Groups Support */
    3939if ( !isset( $deactivated['bp-groups.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-groups.php') )
    40     include( 'bp-groups.php' );
     40    include( BP_PLUGIN_DIR . '/bp-groups.php' );
    4141
    4242/* Private Messaging */
    4343if ( !isset( $deactivated['bp-messages.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-messages.php') )
    44     include( 'bp-messages.php' );
     44    include( BP_PLUGIN_DIR . '/bp-messages.php' );
    4545   
    4646/* Wire Support */
    4747if ( !isset( $deactivated['bp-wire.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-wire.php') )
    48     include( 'bp-wire.php' );
     48    include( BP_PLUGIN_DIR . '/bp-wire.php' );
    4949
    5050/* Extended Profiles */
    5151if ( !isset( $deactivated['bp-xprofile.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-xprofile.php') )
    52     include( 'bp-xprofile.php' );
     52    include( BP_PLUGIN_DIR . '/bp-xprofile.php' );
    5353
    5454?>
  • trunk/bp-messages.php

    r1512 r1521  
    88    define ( 'BP_MESSAGES_SLUG', 'messages' );
    99
    10 require ( 'bp-messages/bp-messages-classes.php' );
    11 require ( 'bp-messages/bp-messages-ajax.php' );
    12 require ( 'bp-messages/bp-messages-cssjs.php' );
    13 require ( 'bp-messages/bp-messages-templatetags.php' );
    14 require ( 'bp-messages/bp-messages-filters.php' );
     10require ( BP_PLUGIN_DIR . '/bp-messages/bp-messages-classes.php' );
     11require ( BP_PLUGIN_DIR . '/bp-messages/bp-messages-ajax.php' );
     12require ( BP_PLUGIN_DIR . '/bp-messages/bp-messages-cssjs.php' );
     13require ( BP_PLUGIN_DIR . '/bp-messages/bp-messages-templatetags.php' );
     14require ( BP_PLUGIN_DIR . '/bp-messages/bp-messages-filters.php' );
    1515
    1616/**************************************************************************
Note: See TracChangeset for help on using the changeset viewer.