[wp-trac] [WordPress Trac] #3670: Removing CDATA close tag ( ]]> ) unbalances the CDATA block

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 26 22:59:21 UTC 2010


#3670: Removing CDATA close tag ( ]]> ) unbalances the CDATA block
--------------------------+-------------------------------------------------
 Reporter:  scenic        |       Owner:  andy           
     Type:  defect (bug)  |      Status:  new            
 Priority:  high          |   Milestone:  3.0            
Component:  Template      |     Version:  2.1            
 Severity:  major         |    Keywords:  has-patch early
--------------------------+-------------------------------------------------
Changes (by shidouhikari):

  * keywords:  has-patch needs-testing needs-unit-tests early => has-patch
               early


Comment:

 I also don't see how Ryan's patch could break something. It just passed
 the hardcoded code to a filter. If nobody touches that filter it will
 remain doing exactally the same.

 If a plugin uses a filter with higher priority than 20, he can just remove
 and add the filter again. Anybody that doesn't want CDATA being escaped
 can remove the filter and be responsible to anything bad it may cause on
 his site.

 It's a perfect solution that will satisfy everybody.

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


More information about the wp-trac mailing list