[buddypress-trac] [BuddyPress] #5319: Prevent friend POST request from member to himself

buddypress-trac noreply at wordpress.org
Fri Jan 3 01:03:44 UTC 2014


#5319: Prevent friend POST request from member to himself
-----------------------------------+------------------------------
 Reporter:  megainfo               |       Owner:
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  Friends                |     Version:  1.9.1
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+------------------------------
Changes (by boonebgorges):

 * keywords:  has-patch => has-patch 2nd-opinion


Comment:

 I don't see that much harm can come of this, but I suppose it's a good
 idea to fix it.

 Other devs: better to fix here, or in `friends_add_friend()`? Any
 legitimate reason anyone can think of why we'd want to allow self-
 friendships at the level of `friends_add_friend()` but not at the
 interface level?

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


More information about the buddypress-trac mailing list