diff --git a/tests/phpunit/tests/actions.php b/tests/phpunit/tests/actions.php index fe30465774..74b9a4605e 100644 --- a/tests/phpunit/tests/actions.php +++ b/tests/phpunit/tests/actions.php @@ -161,10 +161,10 @@ class Tests_Actions extends WP_UnitTestCase { function test_action_args_with_php4_syntax() { $a = new MockAction(); $tag = __FUNCTION__; - $val = new stdClass; + $val = new stdClass(); add_action( $tag, array( &$a, 'action' ) ); - // Ņall the action with PHP 4 notation for passing object by reference. + // Call the action with PHP 4 notation for passing object by reference. do_action( $tag, array( &$val ) ); $call_count = $a->get_call_count();