You appear to be a bot. Output may be restricted
Description
Usage
Tests_Filter_oEmbed_Result::test_filter_oembed_result_allowed_html();
Parameters
Returns
void
Source
File name: wordpress-develop-tests/phpunit/tests/oembed/filterResult.php
Lines:
1 to 7 of 7
public function test_filter_oembed_result_allowed_html() { $html = '<blockquote class="foo" id="bar"><strong><a href="" target=""></a></strong></blockquote><iframe></iframe>'; $actual = wp_filter_oembed_result( $html, (object) array( 'type' => 'rich' ), '' ); $this->assertSame( '<blockquote class="wp-embedded-content"><a href=""></a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted" style="position: absolute; clip: rect(1px, 1px, 1px, 1px);"></iframe>', $actual ); }