Changeset 60729 for trunk/tests/phpunit/tests/hooks/removeAllFilters.php
- Timestamp:
- 09/11/2025 02:45:56 PM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/hooks/removeAllFilters.php
r56609 r60729 58 58 $reflection = new ReflectionClass( $hook ); 59 59 $reflection_property = $reflection->getProperty( 'priorities' ); 60 $reflection_property->setAccessible( true ); 60 if ( PHP_VERSION_ID < 80100 ) { 61 $reflection_property->setAccessible( true ); 62 } 61 63 62 64 return $reflection_property->getValue( $hook );
Note: See TracChangeset
for help on using the changeset viewer.