[wp-trac] Re: [WordPress Trac] #8763: Unescaped CDATA in [gallery] Output

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 31 02:30:30 GMT 2008

#8763: Unescaped CDATA in [gallery] Output
 Reporter:  miqrogroove   |        Owner:       
     Type:  defect (bug)  |       Status:  new  
 Priority:  normal        |    Milestone:  2.7.1
Component:  Gallery       |      Version:  2.7  
 Severity:  normal        |   Resolution:       
 Keywords:                |  
Comment (by miqrogroove):

 Okay I took it a step further by pasting the $html value directly into the
 visual editor.  When I switched to Visual mode and back again, the value
 changed in the same way.  I also tested entity references by writing them
 into the caption field and found they are not escaped in the visual
 editor.  Despite the convoluted output path, it seems to work and there
 may be no need to match the flavor of "&" escaping between the editor and

 On that note, I've gone ahead with the patch.  Since this is my first
 patch here I would appreciate a thorough review.

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

More information about the wp-trac mailing list