[wp-trac] [WordPress Trac] #36036: Multiple CDATA regressions in wp-includes

WordPress Trac noreply at wordpress.org
Thu Mar 3 01:06:53 UTC 2016


#36036: Multiple CDATA regressions in wp-includes
----------------------------------------+------------------
 Reporter:  sephr                       |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  4.5
Component:  General                     |     Version:  3.4
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:
----------------------------------------+------------------

Comment (by sephr):

 For my first patch I implemented some CDATA normalization that directly
 accessed the contents of a CDATA node, but then I realized that I could
 just use a regex for everything directly against `html()` (after I figured
 out how dotall is done in JavaScript, [\s\S]*). As far as I can tell this
 is the minimum amount of changes necessary. Sorry for the 3 different
 patches. This one should be perfect.

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


More information about the wp-trac mailing list