Changeset 48239 for trunk/tests/phpunit/tests/media.php
- Timestamp:
- 06/30/2020 08:32:44 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/media.php
r48237 r48239 2684 2684 $this->assertNotContains( ' loading="lazy"', $img ); 2685 2685 } 2686 2687 /** 2688 * @ticket 50367 2689 */ 2690 function test_wp_img_tag_add_loading_attr_with_single_quotes() { 2691 $img = "<img src='example.png' alt=' width='300' height='225' />"; 2692 $img = wp_img_tag_add_loading_attr( $img, 'test' ); 2693 2694 $this->assertNotContains( ' loading="lazy"', $img ); 2695 } 2686 2696 } 2687 2697
Note: See TracChangeset
for help on using the changeset viewer.