Changeset 43040
- Timestamp:
- 04/30/2018 04:54:54 AM (7 years ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
-
branches/4.9/src/wp-includes/theme.php
r41995 r43040 354 354 global $wp_theme_directories; 355 355 356 if ( count($wp_theme_directories) <= 1 )356 if ( ! is_array( $wp_theme_directories ) || count( $wp_theme_directories ) <= 1 ) { 357 357 return '/themes'; 358 } 358 359 359 360 $theme_roots = get_site_transient( 'theme_roots' );
Note: See TracChangeset
for help on using the changeset viewer.