Skip to:
Content

BuddyPress.org

Opened 16 years ago

Closed 15 years ago

#108 closed defect (bug) (fixed)

Wrong function called when delete_blog action fired

Reported by: phlux0r's profile 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...)

Change History (1)

#1 @apeatling
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r460 thanks.

Note: See TracTickets for help on using tickets.