Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/03/2009 06:29:12 PM (16 years ago)
Author:
apeatling
Message:

Adding the_content filter to activity output so existing plugins will filter this also.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-templatetags.php

    r1774 r1778  
    256256            $content = bp_activity_content_filter( $activities_template->activity->content, $activities_template->activity->date_recorded, $activities_template->full_name, true, false, false );
    257257
     258        /* Add 'the_content' filter to activity to allow existing plugins to replace text as they would on post text. (extra smilies etc) */
     259        $content = apply_filters( 'the_content', $content );
     260       
    258261        return apply_filters( 'bp_get_activity_content', $content );
    259262    }
Note: See TracChangeset for help on using the changeset viewer.