[wp-trac] [WordPress Trac] #14268: Comments editor HTML tag

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 22 18:16:38 UTC 2010


#14268: Comments editor HTML tag
--------------------------+-------------------------------------------------
 Reporter:  pkirk         |       Owner:     
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.1
Component:  General       |     Version:  3.0
 Severity:  normal        |    Keywords:     
--------------------------+-------------------------------------------------
Changes (by scribu):

  * milestone:  Awaiting Review => 3.1


Comment:

 Turns out the content is escaped twice: first in get_comment_to_edit() and
 then again in wp_htmledit_pre().

 In
 [http://core.trac.wordpress.org/attachment/ticket/14268/esc_html_comment_form.php
 esc_html_comment_form.php] I had to use $wpdb directly because the cached
 version returned from get_comment() is the escaped one. This should
 definitely be fixed.

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


More information about the wp-trac mailing list