[buddypress-trac] [BuddyPress Trac] #7683: friends_add_friend doesnt check if user ids exist
    buddypress-trac 
    noreply at wordpress.org
       
    Mon Feb  5 18:43:17 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 espellcaste):
 Not ok at all in my book, at least!
 I asked because on wp-cli-buddypress, we are doing the check ourselves, so
 maybe, when it was created, its creator thought someone needed to do the
 check before using it. (Not that's ok, just confirming).
 But I don't see a problem in adding a check to the users' existence. Makes
 total sense and might avoid this "bug".
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7683#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
    
    
More information about the buddypress-trac
mailing list