Skip to:
Content

BuddyPress.org

Changes between Version 1 and Version 2 of Ticket #7450, comment 2


Ignore:
Timestamp:
02/25/2017 07:25:52 PM (7 years ago)
Author:
r-a-y
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7450, comment 2

    v1 v2  
    66
    77`$a->id` now equals `0` instead of `999999`, which is logistically correct, but activity ID 0 triggers the bug that Maniou reported above.
     8
     9`02.patch` adds some logic to `bp_activity_delete_comment()` to check the validity of the passed `$comment_id` before continuing.