Skip to:
Content

BuddyPress.org

Changeset 9160


Ignore:
Timestamp:
11/21/2014 08:22:03 PM (10 years ago)
Author:
imath
Message:

Make sure the filter 'bp_activity_custom_update' defaults to false

Fixes #6021

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress-functions.php

    r9122 r9160  
    720720
    721721    } else {
    722         $activity_id = apply_filters( 'bp_activity_custom_update', $_POST['object'], $_POST['item_id'], $_POST['content'] );
     722        $activity_id = apply_filters( 'bp_activity_custom_update', false, $_POST['object'], $_POST['item_id'], $_POST['content'] );
    723723    }
    724724
Note: See TracChangeset for help on using the changeset viewer.