Changeset 3840
- Timestamp:
- 01/22/2011 04:02:37 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/bp-blogs/bp-blogs-functions.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-blogs/bp-blogs-functions.php
r3836 r3840 265 265 add_action( 'wp_set_comment_status', 'bp_blogs_manage_comment', 10, 2 ); 266 266 267 function bp_blogs_add_user_to_blog( $user_id, $role = false, $blog_id = false) {267 function bp_blogs_add_user_to_blog( $user_id, $role = false, $blog_id = 0 ) { 268 268 global $wpdb, $current_blog; 269 269 … … 291 291 add_action( 'user_register', 'bp_blogs_add_user_to_blog' ); 292 292 293 function bp_blogs_remove_user_from_blog( $user_id, $blog_id = false) {293 function bp_blogs_remove_user_from_blog( $user_id, $blog_id = 0 ) { 294 294 global $current_blog; 295 295 … … 330 330 add_action( 'remove_user_from_blog', 'bp_blogs_remove_blog_for_user', 10, 2 ); 331 331 332 function bp_blogs_remove_post( $post_id, $blog_id = false, $user_id = 0 ) {332 function bp_blogs_remove_post( $post_id, $blog_id = 0, $user_id = 0 ) { 333 333 global $current_blog, $bp; 334 334
Note: See TracChangeset
for help on using the changeset viewer.