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

buddypress-trac noreply at wordpress.org
Thu Mar 27 17:37:03 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):

 IMHO the current behavior of returning *true* when users are already
 friends is incorrect. It ought to return *false*. But that's an issue for
 a separate ticket. Fix looks good; I'm going to commit it with unit tests.

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


More information about the buddypress-trac mailing list