Ticket #7086: 7086.3.diff
| File 7086.3.diff, 419 bytes (added by ionfish, 4 years ago) |
|---|
-
wp-includes/theme.php
256 256 } 257 257 } 258 258 259 $template_dir = dirname($template_files[ 0]);259 $template_dir = dirname($template_files[count($template_files) - 1]); 260 260 $stylesheet_dir = dirname($stylesheet_files[0]); 261 261 262 262 if ( empty($template_dir) )
