Changeset 46707
- Timestamp:
- 11/11/2019 06:48:06 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/actions.php
r46689 r46707 162 162 $a = new MockAction(); 163 163 $tag = __FUNCTION__; 164 $val = new stdClass ;164 $val = new stdClass(); 165 165 166 166 add_action( $tag, array( &$a, 'action' ) ); 167 // Ñall the action with PHP 4 notation for passing object by reference.167 // Call the action with PHP 4 notation for passing object by reference. 168 168 do_action( $tag, array( &$val ) ); 169 169
Note: See TracChangeset
for help on using the changeset viewer.