You appear to be a bot. Output may be restricted
Description
Usage
Tests_Filter_oEmbed_Result::test_filter_oembed_result_with_newlines();
Parameters
Returns
void
Source
File name: wordpress-develop-tests/phpunit/tests/oembed/filterResult.php
Lines:
1 to 13 of 13
public function test_filter_oembed_result_with_newlines() { $html = <<<EOD <script>var = 1;</script> <iframe></iframe> <iframe></iframe> <p></p> EOD; $actual = wp_filter_oembed_result( $html, (object) array( 'type' => 'rich' ), '' ); $this->assertSame( '<iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"></iframe>', $actual ); }