Skip to:
Content

BuddyPress.org

Ticket #2372: 2372.01.patch

File 2372.01.patch, 648 bytes (added by r-a-y, 7 years ago)
  • bp-blogs/bp-blogs-activity.php

    function bp_blogs_record_activity( $args = '' ) { 
    7575                $action = apply_filters( 'bp_blogs_record_activity_action', $action );
    7676
    7777        if ( !empty( $content ) )
    78                 $content = apply_filters( 'bp_blogs_record_activity_content', bp_create_excerpt( $content ), $content );
     78                $content = apply_filters( 'bp_blogs_record_activity_content', $content, $content );
    7979
    8080        // Check for an existing entry and update if one exists.
    8181        $id = bp_activity_get_activity_id( array(