From f3d44de0b9d71b8c87b18d6b45076a1e401a0f4e Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 11 Nov 2019 20:30:16 +0000 Subject: [PATCH] Tests: Fix a typo in an inline comment introduced in [46568]. Reviewed by whyisjake, SergeyBiryukov. Props david.binda. Merges [46707] to the 5.3 branch. Fixes #48564. See #48312. git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46708 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/actions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/tests/actions.php b/tests/phpunit/tests/actions.php index e83b6bfc15..2ad395f1d1 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();