Changeset 2656 for trunk/bp-blogs.php
- Timestamp:
- 02/10/2010 09:13:14 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-blogs.php
r2636 r2656 101 101 do_action( 'bp_blogs_setup_globals' ); 102 102 } 103 add_action( ' plugins_loaded', 'bp_blogs_setup_globals', 5);103 add_action( 'bp_setup_globals', 'bp_blogs_setup_globals' ); 104 104 add_action( 'admin_menu', 'bp_blogs_setup_globals', 2 ); 105 105 … … 108 108 bp_core_add_root_component( BP_BLOGS_SLUG ); 109 109 } 110 add_action( ' plugins_loaded', 'bp_blogs_setup_root_component', 2);110 add_action( 'bp_setup_root_components', 'bp_blogs_setup_root_component' ); 111 111 112 112 /** … … 152 152 do_action( 'bp_blogs_setup_nav' ); 153 153 } 154 add_action( ' plugins_loaded', 'bp_blogs_setup_nav' );154 add_action( 'bp_setup_nav', 'bp_blogs_setup_nav' ); 155 155 add_action( 'admin_menu', 'bp_blogs_setup_nav' ); 156 156 … … 231 231 do_action( 'bp_blogs_register_activity_actions' ); 232 232 } 233 add_action( ' plugins_loaded', 'bp_blogs_register_activity_actions' );233 add_action( 'bp_register_activity_actions', 'bp_blogs_register_activity_actions' ); 234 234 235 235 function bp_blogs_record_activity( $args = '' ) { … … 829 829 add_action( 'delete_user', 'bp_blogs_remove_data', 1 ); 830 830 831 832 /******************************************************************************** 833 * Caching 834 * 835 * Caching functions handle the clearing of cached objects and pages on specific 836 * actions throughout BuddyPress. 837 */ 838 831 839 function bp_blogs_clear_blog_object_cache( $blog_id, $user_id ) { 832 840 wp_cache_delete( 'bp_blogs_of_user_' . $user_id, 'bp' );
Note: See TracChangeset
for help on using the changeset viewer.