Tests: Fix a typo in an inline comment.
Fix a regression from [46568]. Props david.binda. See #48312. git-svn-id: https://develop.svn.wordpress.org/trunk@46707 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
385d0794ae
commit
91312ab695
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue