[buddypress-trac] [BuddyPress] #5019: Fire 'friends_friendship_deleted' hook after delete friendship.

buddypress-trac noreply at wordpress.org
Mon May 27 13:02:30 UTC 2013

#5019: Fire 'friends_friendship_deleted' hook after delete friendship.
 Reporter:  mukkundthanki  |       Owner:  boonebgorges
     Type:  defect (bug)   |      Status:  closed
 Priority:  low            |   Milestone:  1.8
Component:  Friends        |     Version:  1.7
 Severity:  minor          |  Resolution:  fixed
 Keywords:  2nd-opinion    |
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


 In [changeset:"7108"]:
 #!CommitTicketReference repository="" revision="7108"
 Introduce friends_friendship_post_delete hook

 The existing hook friends_friendship_deleted hook actually fires before
 friendship count is deleted in the database. This causes problems for
 that want to access the updated user friend counts, and other info that is
 changed at the time of delete.

 Fixes #5019

 Props mukkundthanki

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

More information about the buddypress-trac mailing list