[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
Thu Aug 2 17:36:15 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        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 A workaround for the plugin would be to remove the script from the
 response and re-add it using `document.createElement()` after ColorBox is
 initialized, as suggested in the
 [http://stackoverflow.com/questions/610995/jquery-cant-append-script-
 element related thread] on Stack Overflow.

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


More information about the wp-trac mailing list