Changeset 49117 for trunk/tests/phpunit/tests/oembed/filterResult.php
- Timestamp:
- 10/10/2020 01:37:18 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/oembed/filterResult.php
r48937 r49117 8 8 $html = '<p></p><iframe onload="alert(1)"></iframe>'; 9 9 10 $actual = wp_filter_oembed_result( $html, (object) array( 'type' => 'rich' ), 'https://www.youtube.com/watch?v= dQw4w9WgXcQ' );10 $actual = wp_filter_oembed_result( $html, (object) array( 'type' => 'rich' ), 'https://www.youtube.com/watch?v=72xdCU__XCk' ); 11 11 12 12 $this->assertSame( $html, $actual );
Note: See TracChangeset
for help on using the changeset viewer.