We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bef55a commit 4333300Copy full SHA for 4333300
tests/phpunit/tests/dependencies/scripts.php
@@ -69,7 +69,7 @@ public function tear_down() {
69
parent::tear_down();
70
}
71
72
- private function assertEqualHTMLScriptTagById( string $expected, string $html, ?string $message ) {
+ private function assertEqualHTMLScriptTagById( string $expected, string $html, string $message = 'The SCRIPT tag did not match.' ) {
73
$find_id_tag_processor = new WP_HTML_Tag_Processor( $expected );
74
$find_id_tag_processor->next_token();
75
$id = $find_id_tag_processor->get_attribute( 'id' );
0 commit comments