Changeset 60729 for trunk/tests/phpunit/tests/theme/customHeader.php
- Timestamp:
- 09/11/2025 02:45:56 PM (4 months ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/theme/customHeader.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/theme/customHeader.php
r56559 r60729 505 505 $class = new ReflectionClass( 'WP_Customize_Manager' ); 506 506 $property = $class->getProperty( 'previewing' ); 507 $property->setAccessible( true ); 507 if ( PHP_VERSION_ID < 80100 ) { 508 $property->setAccessible( true ); 509 } 508 510 $property->setValue( $this->customize_manager, $value ); 509 511 }
Note: See TracChangeset
for help on using the changeset viewer.