[buddypress-trac] [BuddyPress Trac] #7683: friends_add_friend doesnt check if user ids exist

buddypress-trac noreply at wordpress.org
Mon Mar 5 13:03:07 UTC 2018


#7683: friends_add_friend doesnt check if user ids exist
-----------------------------------+---------------------
 Reporter:  modemlooper            |       Owner:  djpaul
     Type:  defect (bug)           |      Status:  closed
 Priority:  normal                 |   Milestone:  3.0
Component:  Friends                |     Version:  2.9.2
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+---------------------
Changes (by boonebgorges):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"11889"]:
 {{{
 #!CommitTicketReference repository="" revision="11889"
 Templates: Die from AJAX friend operations when friend ID is invalid.

 This prevents the adding of friendship objects attached to non-existent
 users.

 Props modemlooper.
 Fixes #7683.
 }}}

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


More information about the buddypress-trac mailing list