Changeset 60729 for trunk/tests/phpunit/tests/db.php
- Timestamp:
- 09/11/2025 02:45:56 PM (4 months ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/db.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/db.php
r60622 r60729 1988 1988 1989 1989 $property = new ReflectionProperty( $wpdb, 'allow_unsafe_unquoted_parameters' ); 1990 $property->setAccessible( true ); 1990 if ( PHP_VERSION_ID < 80100 ) { 1991 $property->setAccessible( true ); 1992 } 1991 1993 $property->setValue( $wpdb, $allow ); 1992 1994 … … 1996 1998 // Reset. 1997 1999 $property->setValue( $wpdb, $default ); 1998 $property->setAccessible( false ); 2000 if ( PHP_VERSION_ID < 80100 ) { 2001 $property->setAccessible( false ); 2002 } 1999 2003 2000 2004 $this->assertSame( $expected, $actual );
Note: See TracChangeset
for help on using the changeset viewer.