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

WordPress Trac noreply at wordpress.org
Mon Sep 8 23:26:27 UTC 2014


#3670: Removing CDATA close tag ( ]]> ) unbalances the CDATA block
-------------------------------------------------+-------------------------
 Reporter:  scenic                               |       Owner:  andy
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Posts, Post Types                    |  Release
 Severity:  minor                                |     Version:  2.1
 Keywords:  has-patch needs-refresh needs-unit-  |  Resolution:
  tests                                          |     Focuses:  template
-------------------------------------------------+-------------------------

Comment (by awelzel):

 Seems I have to consult https://make.wordpress.org/core/handbook/ and then
 http://make.wordpress.org/core/handbook/automated-testing/#writing-tests
 first ;-)

 But the diff alone is indeed not a fix, since `wp_cdata()` as a
 replacement for the `str_replace()` does not get used anywhere.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/3670#comment:70>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list