Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #7833, comment 3


Ignore:
Timestamp:
05/16/2018 04:26:46 PM (8 years ago)
Author:
imath
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7833, comment 3

    initial v1  
    66All friendship actions are managed in one ajax handler {{{bp_nouveau_ajax_addremove_friend()}}}, but 2 actions are not sending an ID from the {{{$wpdb->users}}} table but an ID from the {{{$bp->table_prefix . 'bp_friends'}}} table.
    77
    8 For these two actions ({{{'friends_accept_friendship'}}} & {{{''friends_reject_friendship''}}}), it makes no sense to check if an ID from the {{{$bp->table_prefix . 'bp_friends'}}} table exists as a user into the {{{$wpdb->users}}} table.
     8For these two actions ({{{'friends_accept_friendship'}}} & {{{'friends_reject_friendship'}}}), it makes no sense to check if an ID from the {{{$bp->table_prefix . 'bp_friends'}}} table exists as a user into the {{{$wpdb->users}}} table.
    99
    10 So both 7833.patch or 7833.2.patch are fixing the issues, the first one edits less code than the other which is less confusing..
     10So both 7833.patch or 7833.2.patch are fixing the issue, the first one edits less code than the other which is less confusing..
    1111
    1212It's up to what you prefer :)