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

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 13 02:23:19 UTC 2009


#3670: Removing CDATA close tag ( ]]> ) unbalances the CDATA block
--------------------------+-------------------------------------------------
 Reporter:  scenic        |       Owner:  andy                                          
     Type:  defect (bug)  |      Status:  new                                           
 Priority:  normal        |   Milestone:  2.9                                           
Component:  Template      |     Version:  2.1                                           
 Severity:  normal        |    Keywords:  has-patch needs-testing needs-unit-tests early
--------------------------+-------------------------------------------------
Changes (by westi):

 * cc: westi (added)


Comment:

 Would it not be better to move the escaping of the closing CDATA into a
 function on the {{{the_content}}} filter which can then itself check
 is_feed() and also if necessary easily be removed by a plugin?

 However as has been said before we don't want to change this too much
 close to release maybe we should just move the current code to a filter
 function for now but with no conditional check.

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


More information about the wp-trac mailing list