[buddypress-trac] [BuddyPress] #4222: Deleting Comment with @mention Resends Notification

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Fri Jun 29 22:28:40 UTC 2012


#4222: Deleting Comment with @mention Resends Notification
----------------------------+-----------------------
 Reporter:  SlothLoveChunk  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  1.6
Component:  Notifications   |     Version:  1.6-beta
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+-----------------------

Comment (by DJPaul):

 On WP 3.4, BP trunk, non-MS. Subscriber user does some comments with
 @mentions to the admin user. Position of @mention in comment doesn't seem
 to matter. Admin user goes to wp-admin comments, searches for "@admin" (or
 whatever), then clicks Trash on an individual table row. Then this
 happens:

 wp_ajax_delete_comment() -> wp_trash_comment() -> wp_set_comment_status()
 -> wp_transition_comment_status()

 Then the transition_comment_status action fires, calling
 bp_blogs_transition_activity_status() -> BP_Activity_Activity:save().
 Then the bp_activity_after_save action fires, calling
 bp_activity_at_name_filter_updates().


 bp_blogs_transition_activity_status() existed pre-1.6 but I overhauled it
 significantly when implementing Activity Admin and Akismet integration.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4222#comment:16>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list