Changeset 58143 for trunk/tests/phpunit/tests/media.php
- Timestamp:
- 05/13/2024 10:37:38 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/media.php
r57987 r58143 3258 3258 /** 3259 3259 * @ticket 52768 3260 */ 3261 public function test_wp_iframe_tag_add_loading_attr_skip_wp_embed() { 3260 * @ticket 58773 3261 */ 3262 public function test_wp_iframe_tag_add_loading_attr_include_wp_embed() { 3262 3263 $iframe = '<iframe src="https://www.example.com" width="640" height="360"></iframe>'; 3263 3264 $fallback = '<blockquote>Fallback content.</blockquote>'; … … 3265 3266 $iframe = wp_iframe_tag_add_loading_attr( $iframe, 'test' ); 3266 3267 3267 $this->assertString NotContainsString( ' loading=', $iframe );3268 $this->assertStringContainsString( ' loading="lazy"', $iframe ); 3268 3269 } 3269 3270
Note: See TracChangeset
for help on using the changeset viewer.