Skip to:
Content

BuddyPress.org

Opened 4 weeks ago

#9280 new enhancement

Typo in filter hook name: friends_activity_friendsip_accepted_action should be friends_activity_friendship_accepted_action

Reported by: khushipatel15's profile khushipatel15 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 14.3.2
Component: Core Keywords: has-patch
Cc:

Description

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.

Attachments (1)

9280.patch (1.5 KB) - added by khushipatel15 4 weeks ago.
This patch fixes a typo in the filter hook name used when generating the "friendship accepted" activity action in the BuddyPress Friends component.

Download all attachments as: .zip

Change History (1)

@khushipatel15
4 weeks ago

This patch fixes a typo in the filter hook name used when generating the "friendship accepted" activity action in the BuddyPress Friends component.

Note: See TracTickets for help on using tickets.