Opened 17 years ago
Closed 17 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: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.1 |
| Component: | Version: | ||
| Severity: | 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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 );