Changeset 2656 for trunk/bp-friends.php
- Timestamp:
- 02/10/2010 09:13:14 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-friends.php
r2618 r2656 48 48 do_action( 'friends_setup_globals' ); 49 49 } 50 add_action( ' plugins_loaded', 'friends_setup_globals', 5);50 add_action( 'bp_setup_globals', 'friends_setup_globals' ); 51 51 add_action( 'admin_menu', 'friends_setup_globals', 2 ); 52 52 … … 303 303 do_action( 'friends_register_activity_actions' ); 304 304 } 305 add_action( ' plugins_loaded', 'friends_register_activity_actions' );305 add_action( 'bp_register_activity_actions', 'friends_register_activity_actions' ); 306 306 307 307 function friends_format_notifications( $action, $item_id, $secondary_item_id, $total_items ) { … … 626 626 add_action( 'make_spam_user', 'friends_remove_data', 1 ); 627 627 628 629 /******************************************************************************** 630 * Caching 631 * 632 * Caching functions handle the clearing of cached objects and pages on specific 633 * actions throughout BuddyPress. 634 */ 635 628 636 function friends_clear_friend_object_cache( $friendship_id ) { 629 637 if ( !$friendship = new BP_Friends_Friendship( $friendship_id ) )
Note: See TracChangeset
for help on using the changeset viewer.