Opened 16 years ago
Closed 15 years ago
#778 closed defect (bug) (fixed)
erroneous call to strip_tags in bp-wire.php bp_wire_new_post
Reported by: | DJPaul | Owned by: | |
---|---|---|---|
Milestone: | 1.1 | Priority: | minor |
Severity: | Version: | ||
Component: | Keywords: | ||
Cc: |
Description
line 101, bp-wire.php. The call to strip_tags() is not needed and is stripping out tags prior to being saved into the DB.
Change History (7)
Note: See
TracTickets for help on using
tickets.
Whilst above stores the tags in DB, doesn't display them on the wire pages.
I added the following to the top of my bp-wire-filters.php which seems to work (they displayed + are escaped in the source)
add_filter( 'bp_get_wire_post_content', 'attribute_escape', 1 );