Changeset 1416 for trunk/bp-groups.php
- Timestamp:
- 04/27/2009 03:55:00 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups.php
r1408 r1416 8 8 define ( 'BP_GROUPS_SLUG', 'groups' ); 9 9 10 require ( 'bp-groups/bp-groups-classes.php' );11 require ( 'bp-groups/bp-groups-ajax.php' );12 require ( 'bp-groups/bp-groups-cssjs.php' );13 require ( 'bp-groups/bp-groups-templatetags.php' );14 require ( 'bp-groups/bp-groups-widgets.php' );15 require ( 'bp-groups/bp-groups-filters.php' );10 require ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-classes.php' ); 11 require ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-ajax.php' ); 12 require ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-cssjs.php' ); 13 require ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-templatetags.php' ); 14 require ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-widgets.php' ); 15 require ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-filters.php' ); 16 16 17 17 … … 150 150 global $wpdb, $bp; 151 151 152 require ( 'bp-groups/bp-groups-admin.php' );152 require ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-admin.php' ); 153 153 154 154 /* Need to check db tables exist, activate hook no-worky in mu-plugins folder. */ … … 1748 1748 } 1749 1749 1750 require_once ( 'bp-groups/bp-groups-notifications.php' );1750 require_once ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-notifications.php' ); 1751 1751 1752 1752 // Send friend invites. … … 1914 1914 1915 1915 if ( $notify_members ) { 1916 require_once ( 'bp-groups/bp-groups-notifications.php' );1916 require_once ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-notifications.php' ); 1917 1917 groups_notification_group_updated( $group->id ); 1918 1918 } … … 2040 2040 $admins = groups_get_group_admins( $group_id ); 2041 2041 2042 require_once ( 'bp-groups/bp-groups-notifications.php' );2042 require_once ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-notifications.php' ); 2043 2043 2044 2044 for ( $i = 0; $i < count( $admins ); $i++ ) { … … 2075 2075 2076 2076 /* Send a notification to the user. */ 2077 require_once ( 'bp-groups/bp-groups-notifications.php' );2077 require_once ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-notifications.php' ); 2078 2078 groups_notification_membership_request_completed( $membership->user_id, $membership->group_id, true ); 2079 2079 … … 2095 2095 2096 2096 // Send a notification to the user. 2097 require_once ( 'bp-groups/bp-groups-notifications.php' );2097 require_once ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-notifications.php' ); 2098 2098 groups_notification_membership_request_completed( $membership->user_id, $membership->group_id, false ); 2099 2099
Note: See TracChangeset
for help on using the changeset viewer.