[buddypress-trac] [BuddyPress Trac] #5319: Prevent friend POST request from member to himself
buddypress-trac
noreply at wordpress.org
Thu Mar 27 17:37:39 UTC 2014
#5319: Prevent friend POST request from member to himself
-------------------------+--------------------
Reporter: megainfo | Owner:
Type: enhancement | Status: new
Priority: low | Milestone: 2.0
Component: Friends | Version: 1.9.1
Severity: minor | Resolution:
Keywords: has-patch |
-------------------------+--------------------
Comment (by boonebgorges):
In [changeset:"8172"]:
{{{
#!CommitTicketReference repository="" revision="8172"
Return false friends_add_friend() when the initiator is the same as the
friend
It's good to love yourself, but there's no real reason to allow
self-friendships in BuddyPress.
See #5319
Props megainfo, r-a-y
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5319#comment:9>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list