Changeset 2656 for trunk/bp-groups.php
- Timestamp:
- 02/10/2010 09:13:14 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups.php
r2646 r2656 97 97 do_action( 'groups_setup_globals' ); 98 98 } 99 add_action( ' plugins_loaded', 'groups_setup_globals', 5);99 add_action( 'bp_setup_globals', 'groups_setup_globals' ); 100 100 add_action( 'admin_menu', 'groups_setup_globals', 2 ); 101 101 … … 104 104 bp_core_add_root_component( BP_GROUPS_SLUG ); 105 105 } 106 add_action( ' plugins_loaded', 'groups_setup_root_component', 2);106 add_action( 'bp_setup_root_components', 'groups_setup_root_component' ); 107 107 108 108 function groups_check_installed() { … … 217 217 do_action( 'groups_setup_nav', $bp->groups->current_group->user_has_access ); 218 218 } 219 add_action( ' plugins_loaded', 'groups_setup_nav' );219 add_action( 'bp_setup_nav', 'groups_setup_nav' ); 220 220 add_action( 'admin_menu', 'groups_setup_nav' ); 221 221 … … 1267 1267 do_action( 'groups_register_activity_actions' ); 1268 1268 } 1269 add_action( ' plugins_loaded', 'groups_register_activity_actions' );1269 add_action( 'bp_register_activity_actions', 'groups_register_activity_actions' ); 1270 1270 1271 1271 function groups_record_activity( $args = '' ) { … … 2555 2555 add_action( 'delete_user', 'groups_remove_data_for_user', 1 ); 2556 2556 add_action( 'make_spam_user', 'groups_remove_data_for_user', 1 ); 2557 2558 2559 /******************************************************************************** 2560 * Caching 2561 * 2562 * Caching functions handle the clearing of cached objects and pages on specific 2563 * actions throughout BuddyPress. 2564 */ 2557 2565 2558 2566 function groups_clear_group_object_cache( $group_id ) {
Note: See TracChangeset
for help on using the changeset viewer.