Ticket #43374: 43374.patch
File 43374.patch, 439 bytes (added by , 6 years ago) |
---|
-
src/wp-includes/theme.php
370 370 function get_theme_roots() { 371 371 global $wp_theme_directories; 372 372 373 if ( count( $wp_theme_directories ) <= 1 ) {373 if ( is_countable( $wp_theme_directories ) && count( $wp_theme_directories ) <= 1 ) { 374 374 return '/themes'; 375 375 } 376 376