Changeset 47557 for trunk/src/wp-includes/class-wp-theme.php
- Timestamp:
- 04/09/2020 03:41:04 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme.php
r47550 r47557 277 277 // Default themes always trump their pretenders. 278 278 // Properly identify default themes that are inside a directory within wp-content/themes. 279 $default_theme_slug = array_search( $this->headers['Name'], self::$default_themes );279 $default_theme_slug = array_search( $this->headers['Name'], self::$default_themes, true ); 280 280 if ( $default_theme_slug ) { 281 281 if ( basename( $this->stylesheet ) != $default_theme_slug ) {
Note: See TracChangeset
for help on using the changeset viewer.