Skip to:
Content

BuddyPress.org

Ticket #2420: 2420-1.diff

File 2420-1.diff, 642 bytes (added by boonebgorges, 16 years ago)
  • bp-blogs.php

     
    171171                $action = apply_filters( 'bp_blogs_record_activity_action', $action );
    172172
    173173        if ( !empty( $content ) )
    174                 $content = apply_filters( 'bp_blogs_record_activity_content', bp_create_excerpt( $content ), $content );
    175 
     174                $content = apply_filters( 'bp_blogs_record_activity_content', bp_create_excerpt( $content, 55, false ), $content );
     175               
    176176        /* Check for an existing entry and update if one exists. */
    177177        $id = bp_activity_get_activity_id( array(
    178178                'user_id' => $user_id,