Changeset 63401
- Timestamp:
- 08/30/2026 10:42:49 PM (2 weeks ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/theme.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/theme.php
r62761 r63401 95 95 foreach ( array_keys( $themes ) as $name ) { 96 96 $theme = get_theme( $name ); 97 // WP_Theme implements ArrayAccess. Even ArrayObject returns false for is_array(). 98 $this->assertFalse( is_array( $theme ) ); 97 // WP_Theme implements ArrayAccess, but that does not make it an array: 98 // is_array() returns false for ArrayObject. 99 $this->assertIsNotArray( $theme ); 99 100 $this->assertInstanceOf( 'WP_Theme', $theme ); 100 101 $this->assertSame( $theme, $themes[ $name ] );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)