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 1e77372 commit 6eaed8aCopy full SHA for 6eaed8a
tests/phpunit/tests/shortcode.php
@@ -447,7 +447,7 @@ public function data_strip_shortcodes() {
447
* @ticket 26649
448
*/
449
public function test_escaped_shortcode_should_not_execute() {
450
- add_shortcode('example', fn () => 'foo');
+ add_shortcode( 'example', fn () => 'foo' );
451
$this->assertSame( '[example]', do_shortcode( strip_shortcodes( '[[example]]' ) ) );
452
}
453
0 commit comments