[buddypress-trac] [BuddyPress] #5289: Single notifications not deleted from the unread or read notifications lists when the item in question is deleted in 1.9 beta 2

buddypress-trac noreply at wordpress.org
Wed Dec 11 15:45:21 UTC 2013


#5289: Single notifications not deleted from the unread or read notifications
lists when the item in question is deleted in 1.9 beta 2
---------------------------+------------------------------
 Reporter:  henrywright    |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Notifications  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:                 |
---------------------------+------------------------------

Comment (by imath):

 Thanks for your feedback @henrywright

 I've picked the wrong hook :(

 When deleting a post, at the end bp_activity_delete is run, that's why i
 think it's best to hook in this function. So 5289.02.diff should take care
 of all activities (blog post / comment, "regular" mentions...)

 Althought reading the comment r-a-y posted
 [http://buddypress.trac.wordpress.org/ticket/5273#comment:33 here] on
 #5273, i wonder if deleting notifications about the messages is a so great
 idea for 1.9.. It's working but it adds a query to get the message id :(

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


More information about the buddypress-trac mailing list