Changeset 46708 for branches/5.3/tests/phpunit/tests/actions.php
- Timestamp:
- 11/11/2019 08:30:16 PM (5 years ago)
- Location:
- branches/5.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.3
-
branches/5.3/tests/phpunit/tests/actions.php
r46568 r46708 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.