Opened 16 years ago
Closed 16 years ago
#108 closed defect (bug) (fixed)
Wrong function called when delete_blog action fired
Reported by: | phlux0r | Owned by: | |
---|---|---|---|
Milestone: | Priority: | blocker | |
Severity: | Version: | ||
Component: | Keywords: | delete blogs | |
Cc: |
Description
in bp-blogs.php line 397 the action call should be:
add_action( 'remove_user_from_blog', 'bp_blogs_remove_blog_for_user' );
instead of:
add_action( 'remove_user_from_blog', 'bp_blogs_remove_blog' );
(This did my head in until I found the problem... the effect of this is that if the admin user deletes other people's blogs and he/she has multiple blogs assigned to them, those blogs may be deleted from the admin in wp_bp_user_blogs...)
Note: See
TracTickets for help on using
tickets.
Fixed in r460 thanks.