[wp-trac] [WordPress Trac] #21448: unfiltered HTML comments from a frame js fix breaks js in windowed comments

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 1 21:58:53 UTC 2012


#21448: unfiltered HTML comments from a frame js fix breaks js in windowed comments
--------------------------+-----------------------------
 Reporter:  nerrad        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Comments      |    Version:  3.4.1
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 Noticed this today.

 We have comments loading up in a jquery colorbox on a site being developed
 and it loads the comment form via ajax.  When it's loaded, the fix in
 #20812 breaks javascript because the property "name" is null.

 Attaching a patch after posting this for only executing when
 `document.getElementById("_wp_unfiltered_html_comment_disabled")` != null.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21448>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list