#16489 closed defect (bug) (fixed)
HTML tags img, pre are cut out from comments
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | Comments | Version: | 3.0.5 |
| Severity: | major | Keywords: | |
| Cc: |
Attachments (3)
Change History (11)
- Owner set to ryan
- Status changed from new to reviewing
Related Changeset: [17400]
comment:4
josephscott — 2 years ago
Included the akismet.diff fix in Akismet 2.5.3 - http://blog.akismet.com/2011/02/08/akismet-plugin-version-2-5-3-for-wordpress/
- Resolution set to fixed
- Status changed from reviewing to closed
Note: See
TracTickets for help on using
tickets.

I think I found the problem
In 3.0.5 file wp-includes/default-filters.php line 35 looks like:
foreach ( array( 'term_description', 'link_description', 'link_notes', 'user_description', 'comment_text' ) as $filter ) {
Just removing bold text and "," before it fixes the bug.
3.0.4 has this line without 'comment_text' - and it was working fine.