[buddypress-trac] [BuddyPress] #1305: Problems with Content filter added to bp_get_activity_content()

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Nov 3 19:46:26 UTC 2009


#1305: Problems with Content filter added to bp_get_activity_content()
----------------------+-----------------------------------------------------
Reporter:  uglyrobot  |       Owner:       
    Type:  defect     |      Status:  new  
Priority:  minor      |   Milestone:  1.1.3
Keywords:             |  
----------------------+-----------------------------------------------------
 In 1.1.x in the bp_get_activity_content() function of bp-activity-
 templatetags.php, a filter for the content was added. Line 255:


 {{{
 /* Add 'the_content' filter to activity to allow existing plugins to
 replace text as they would on post text. (extra smilies etc) */
 $content = apply_filters( 'the_content', $content );
 }}}

 Now all my plugins that use that filter for blog posts are adding their
 html to the site wide activity widgets and breaking them.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/1305>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list