Skip to content
Prev Previous commit
Next Next commit
Remove bad function arg trailing comma
  • Loading branch information
sirreal committed May 9, 2024
commit 5c2d27321abd4fde88ce4a1261a41d5fa900b67e
4 changes: 2 additions & 2 deletions tests/phpunit/tests/interactivity-api/wpInteractivityAPI.php
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ public function test_state_and_config_escape_special_characters() {
'flag of england' => "\u{1F3F4}\u{E0067}\u{E0062}\u{E0065}\u{E006E}\u{E0067}\u{E007F}",
'malicious script closer' => '</script>',
'entity-encoded malicious script closer' => '&lt;/script&gt;',
),
)
);
$this->interactivity->config( 'myPlugin', array( 'chars' => '&<>/' ) );

Expand Down Expand Up @@ -419,7 +419,7 @@ public function test_state_and_config_escape_special_characters_non_utf8() {
'flag of england' => "\u{1F3F4}\u{E0067}\u{E0062}\u{E0065}\u{E006E}\u{E0067}\u{E007F}",
'malicious script closer' => '</script>',
'entity-encoded malicious script closer' => '&lt;/script&gt;',
),
)
);
$this->interactivity->config( 'myPlugin', array( 'chars' => '&<>/' ) );

Expand Down