Skip to:
Content

BuddyPress.org

Ticket #8485: 8485.diff

File 8485.diff, 700 bytes (added by sbrajesh, 4 years ago)
  • src/bp-templates/bp-nouveau/includes/activity/ajax.php

     
    310310        remove_filter( 'bp_get_activity_content_body', 'bp_activity_truncate_entry', 5 );
    311311
    312312        /** This filter is documented in bp-activity/bp-activity-template.php */
    313         $content = apply_filters( 'bp_get_activity_content_body', $activity->content );
     313        $content = apply_filters( 'bp_get_activity_content_body', $activity->content, $activity );
    314314
    315315        wp_send_json_success( array( 'contents' => $content ) );
    316316}