You appear to be a bot. Output may be restricted
Description
Usage
Tests_Media::test_multiline_cdata();
Parameters
Returns
void
Source
File name: wordpress-develop-tests/phpunit/tests/media.php
Lines:
1 to 14 of 14
function test_multiline_cdata() { global $wp_embed; $content = <<<EOF <script>// <![CDATA[ _my_function('data'); // ]]> </script> EOF; $result = $wp_embed->autoembed( $content ); $this->assertEquals( $content, $result ); }