Changeset 1521 for trunk/bp-loader.php
- Timestamp:
- 06/05/2009 10:06:23 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-loader.php
r1463 r1521 17 17 */ 18 18 19 require_once( 'bp-core.php' );19 require_once( WP_PLUGIN_DIR . '/buddypress/bp-core.php' ); 20 20 $deactivated = apply_filters( 'bp_deactivated_components', get_site_option( 'bp-deactivated-components' ) ); 21 21 22 22 /* Activity Streams */ 23 23 if ( !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' ); 25 25 26 26 /* Blog Tracking */ 27 27 if ( !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' ); 29 29 30 30 /* bbPress Forum Integration */ 31 31 if ( !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' ); 33 33 34 34 /* Friend Connections */ 35 35 if ( !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' ); 37 37 38 38 /* Groups Support */ 39 39 if ( !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' ); 41 41 42 42 /* Private Messaging */ 43 43 if ( !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' ); 45 45 46 46 /* Wire Support */ 47 47 if ( !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' ); 49 49 50 50 /* Extended Profiles */ 51 51 if ( !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' ); 53 53 54 54 ?>
Note: See TracChangeset
for help on using the changeset viewer.