Skip to:
Content

BuddyPress.org

Ticket #6484: 6484.patch

File 6484.patch, 493 bytes (added by imath, 9 years ago)
  • src/bp-blogs/bp-blogs-functions.php

    diff --git src/bp-blogs/bp-blogs-functions.php src/bp-blogs/bp-blogs-functions.php
    index c45590a..810c686 100644
    function bp_blogs_remove_comment( $comment_id ) { 
    10011001                        $activity = bp_activity_get( array(
    10021002                                'in'               => $activity_id,
    10031003                                'display_comments' => 'stream',
     1004                                'spam'             => 'all',
    10041005                        ) );
    10051006
    10061007                        // get all activity comment IDs for the pending deleted item