Changeset 61394 for trunk/tests/phpunit/tests/dependencies/wpScriptTag.php
- Timestamp:
- 12/19/2025 11:16:42 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/dependencies/wpScriptTag.php
r52010 r61394 12 12 add_theme_support( 'html5', array( 'script' ) ); 13 13 14 $this->assert Same(14 $this->assertEqualHTML( 15 15 '<script src="https://localhost/PATH/FILE.js" type="application/javascript" nomodule></script>' . "\n", 16 16 wp_get_script_tag( … … 26 26 remove_theme_support( 'html5' ); 27 27 28 $this->assert Same(28 $this->assertEqualHTML( 29 29 '<script src="https://localhost/PATH/FILE.js" type="application/javascript" nomodule></script>' . "\n", 30 30 wp_get_script_tag( … … 45 45 add_theme_support( 'html5', array( 'script' ) ); 46 46 47 $this->assert Same(47 $this->assertEqualHTML( 48 48 '<script src="https://localhost/PATH/FILE.js" nomodule></script>' . "\n", 49 49 wp_get_script_tag( … … 81 81 ); 82 82 83 $this->assert Same(83 $this->assertEqualHTML( 84 84 wp_get_script_tag( $attributes ), 85 85 get_echo( … … 91 91 remove_theme_support( 'html5' ); 92 92 93 $this->assert Same(93 $this->assertEqualHTML( 94 94 wp_get_script_tag( $attributes ), 95 95 get_echo(
Note: See TracChangeset
for help on using the changeset viewer.