Opened 15 years ago
Closed 15 years ago
#1902 closed defect (bug) (fixed)
Forum-Title / entering HTML shows strange output
Reported by: | erich73 | Owned by: | |
---|---|---|---|
Milestone: | 1.2 | Priority: | major |
Severity: | Version: | ||
Component: | Keywords: | ||
Cc: |
Description
try to post the follwing HTML into the Forum-title:
Do not use the stars at beginning and end of the HTML-code.
*<a href="http://www.heise.de/newsticker/">Heise Newsticker</a>*
Change History (8)
#3
@
15 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
not sure this is really fixed !?
see the title in my latest Forum-post at:
#4
@
15 years ago
I noticed the strip_tags filter being applied to bp_get_the_topic_title(), why not wp_filter_kses, Andy?
#6
@
15 years ago
strip_tags let you put in a HTML tag and when it is displayed on the member list, it displayed no title (as it was being stripped). Kses stops that but allows some HTML in which isn't wanted for a forum post title.
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: