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
This commit is contained in:
Sergey Biryukov 2019-11-11 20:30:16 +00:00
parent e6ecd67461
commit f3d44de0b9

View File

@ -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();