[buddypress-trac] [BuddyPress] #1902: Forum-Title / entering HTML shows strange output

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Feb 10 19:59:13 UTC 2010


#1902: Forum-Title / entering HTML shows strange output
--------------------+-------------------------------------------------------
Reporter:  erich73  |       Owner:     
    Type:  defect   |      Status:  new
Priority:  major    |   Milestone:  1.2
Keywords:           |  
--------------------+-------------------------------------------------------

Comment(by r-a-y):

 Images are also rendered.

 The problem is with the filter being applied to
 '''bp_get_the_topic_title'''.

 Should be using '''wp_filter_kses''' instead of bp_forums_filter_kses.

 Line 7 of bp-forums-filters.php should be:
 {{{
 add_filter( 'bp_get_the_topic_title', 'wp_filter_kses', 1 );
 }}}

-- 
Ticket URL: <http://trac.buddypress.org/ticket/1902#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list