[buddypress-trac] [BuddyPress Trac] #7683: friends_add_friend doesnt check if user ids exist
buddypress-trac
noreply at wordpress.org
Mon Feb 5 17:57:53 UTC 2018
#7683: friends_add_friend doesnt check if user ids exist
--------------------------+------------------------------
Reporter: modemlooper | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Friends | Version: 2.9.2
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by modemlooper):
I’m converting buddypress-functions.php functions into JSON API methods
and noticed that I could pass anything to the friends_add_friends_function
and it would add to db.
Not sure it’s a bug. Is it ok invalid data be added?
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7683#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list