[buddypress-trac] [BuddyPress Trac] #7506: friends_add_friend() should convert accepted arguments

buddypress-trac noreply at wordpress.org
Thu Apr 27 03:56:39 UTC 2017


#7506: friends_add_friend() should convert accepted arguments
--------------------------+------------------------------
 Reporter:  slaFFik       |       Owner:  r-a-y
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Friends       |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+------------------------------
Changes (by r-a-y):

 * owner:   => r-a-y
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"11539"]:
 {{{
 #!CommitTicketReference repository="" revision="11539"
 Friends: Fix issue with friendship email not being sent when using
 `friends_add_friend()` in some instances.

 This commit ensures that user IDs passed to `friends_add_friend()` are
 typecast as integers.  This fixes issues with the friendship email not
 being sent because the email sending logic requires the passed user IDs
 to be integers and not numeric strings.

 Props slaFFik, henry.wright.

 Fixes #7506.
 }}}

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


More information about the buddypress-trac mailing list