Changeset 60729 for trunk/tests/phpunit/tests/admin/wpTermsListTable.php
- Timestamp:
- 09/11/2025 02:45:56 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/admin/wpTermsListTable.php
r56680 r60729 50 50 private function call_inaccessible_method( $instance, $method_name, $args = array() ) { 51 51 $method = ( new ReflectionClass( $instance ) )->getMethod( $method_name ); 52 $method->setAccessible( true ); 52 if ( PHP_VERSION_ID < 80100 ) { 53 $method->setAccessible( true ); 54 } 53 55 return $method->invokeArgs( $instance, $args ); 54 56 }
Note: See TracChangeset
for help on using the changeset viewer.