[wp-trac] [WordPress Trac] #16489: HTML tags img, pre are cut out from comments

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 8 13:37:42 UTC 2011


#16489: HTML tags img, pre are cut out from comments
--------------------------+------------------------------
 Reporter:  advanpix      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Comments      |     Version:  3.0.5
 Severity:  major         |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by advanpix):

 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16489#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list