[wp-trac] [WordPress Trac] #33106: Removal of newlines in CDATA breaks inline scripts

WordPress Trac noreply at wordpress.org
Mon Jul 27 17:24:38 UTC 2015


#33106: Removal of newlines in CDATA breaks inline scripts
-----------------------------+--------------------------
 Reporter:  jeremyfelt       |       Owner:  miqrogroove
     Type:  defect (bug)     |      Status:  assigned
 Priority:  highest omg bbq  |   Milestone:  4.2.4
Component:  Formatting       |     Version:  4.2.3
 Severity:  major            |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+--------------------------

Comment (by kitchin):

 New tests coming up. These tests require a new hook in
 `WP_Embed::shortcode()` so they may not be accepted. The new tests detect
 the bug in patch.5 found by azaozz in comment:17.

 Three patches coming up. Only use two of them.

 * 33106.tests.media.mod-hook.4.patch[[BR]]The new tests. They require one
 of the following two patches to trunk:

 * 33106.5.mod-hook.patch[[BR]]Same as 33106.5.patch, plus the new hook in
 shortcode().[[BR]]Will get one failure in:[[BR]]$ phpunit
 tests_phpunit_tests_media

 * 33106.7.mod-hook.patch[[BR]]Same as 33106.7.patch, plus the new hook in
 shortcode().[[BR]]Will get no failures in:[[BR]]$ phpunit
 tests_phpunit_tests_media

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


More information about the wp-trac mailing list