- Timestamp:
- 09/11/2025 02:45:56 PM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/interactivity-api/wpInteractivityAPIFunctions.php
r58739 r60729 283 283 $class = new ReflectionClass( 'WP_Interactivity_API' ); 284 284 $directive_processors = $class->getProperty( 'directive_processors' ); 285 $directive_processors->setAccessible( true ); 285 if ( PHP_VERSION_ID < 80100 ) { 286 $directive_processors->setAccessible( true ); 287 } 286 288 $old_directive_processors = $directive_processors->getValue(); 287 289 $directive_processors->setValue( null, array( 'data-wp-test' => array( $this, 'data_wp_test_processor' ) ) );
Note: See TracChangeset
for help on using the changeset viewer.