Changeset 3627 for trunk/bp-groups.php
- Timestamp:
- 12/30/2010 10:13:05 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups.php
r3620 r3627 5 5 require ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-filters.php' ); 6 6 7 /** 8 * Puts important groups component data into the $bp global for later use. 9 * 10 * @package BuddyPress Groups 11 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals() 12 */ 7 13 function groups_setup_globals() { 8 global $bp , $wpdb;14 global $bp; 9 15 10 16 if ( !defined( 'BP_GROUPS_SLUG' ) ) … … 40 46 // Auto join group when non group member performs group activity 41 47 $bp->groups->auto_join = defined( 'BP_DISABLE_AUTO_GROUP_JOIN' ) ? false : true; 48 49 // The default text for the groups directory search box 50 $bp->default_search_strings[$bp->groups->slug] = __( 'Search Groups...', 'buddypress' ); 42 51 43 52 do_action( 'groups_setup_globals' );
Note: See TracChangeset
for help on using the changeset viewer.