[buddypress-trac] [BuddyPress Trac] #9280: Typo in filter hook name: friends_activity_friendsip_accepted_action should be friends_activity_friendship_accepted_action
buddypress-trac
noreply at wordpress.org
Fri Apr 25 08:39:48 UTC 2025
#9280: Typo in filter hook name: friends_activity_friendsip_accepted_action should
be friends_activity_friendship_accepted_action
---------------------------+-----------------------------
Reporter: khushipatel15 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Core | Version: 14.3.2
Severity: normal | Keywords: has-patch
---------------------------+-----------------------------
There's a typo in the filter hook name used in the BuddyPress Friends
component. The current hook is:
apply_filters( 'friends_activity_friendsip_accepted_action', $action,
$friendship );
The word "friendsip" is misspelled and should be "friendship", which could
cause issues for developers trying to hook into this filter with the
correct spelling.
Since changing a filter hook name can potentially break backward
compatibility for developers already using the incorrect one.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9280>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list