Ticket #768: ticket_768.diff
File ticket_768.diff, 4.0 KB (added by , 15 years ago) |
---|
-
bp-core.php
38 38 require ( BP_PLUGIN_DIR . '/bp-core/bp-core-notifications.php' ); 39 39 40 40 if ( !defined( 'BP_DISABLE_ADMIN_BAR') ) 41 require ( 'bp-core/bp-core-adminbar.php' );41 require ( BP_PLUGIN_DIR . '/bp-core/bp-core-adminbar.php' ); 42 42 43 43 /* Define the slug for member pages and the members directory (e.g. domain.com/[members] ) */ 44 44 if ( !defined( 'BP_MEMBERS_SLUG' ) ) -
bp-forums.php
11 11 require ( BP_PLUGIN_DIR . '/bp-forums/bp-forums-filters.php' ); 12 12 13 13 if ( is_admin() ) 14 require ( 'bp-forums/bp-forums-admin.php' );14 require ( BP_PLUGIN_DIR . '/bp-forums/bp-forums-admin.php' ); 15 15 16 16 function bp_forums_setup() { 17 17 global $bp, $bbpress_live; -
bp-loader.php
16 16 * of the components have been activated on the "BuddyPress" admin menu. 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 ?> 55 No newline at end of file -
bp-messages.php
7 7 if ( !defined( 'BP_MESSAGES_SLUG' ) ) 8 8 define ( 'BP_MESSAGES_SLUG', 'messages' ); 9 9 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' );10 require ( BP_PLUGIN_DIR . '/bp-messages/bp-messages-classes.php' ); 11 require ( BP_PLUGIN_DIR . '/bp-messages/bp-messages-ajax.php' ); 12 require ( BP_PLUGIN_DIR . '/bp-messages/bp-messages-cssjs.php' ); 13 require ( BP_PLUGIN_DIR . '/bp-messages/bp-messages-templatetags.php' ); 14 require ( BP_PLUGIN_DIR . '/bp-messages/bp-messages-filters.php' ); 15 15 16 16 /************************************************************************** 17 17 messages_install()